Reference.get must always return a value

Return null if there is no value.
This commit is contained in:
Cédric Krier committed 2015-03-06 13:58:15 +01:00
1 parent a5de039409
commit b98c18570d
1 file changed
+1
+1
View File
@@ -1897,6 +1897,7 @@
record._values[this.name][1] >= -1) {
return record._values[this.name].join(',');
}
return null;
},
set_client: function(record, value, force_change) {
if (value) {