We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6075fae commit 34dea8dCopy full SHA for 34dea8d
1 file changed
js/query.js
@@ -123,7 +123,7 @@ function querySave() {
123
data = {'setNull':true, 'value':''};
124
}
125
ins_fields.push(DB.quote(f));
126
- ins_data.push( data.setNull ? NULL : DB.escape( data.value ) );
+ ins_data.push( data.setNull ? "NULL" : DB.escape( data.value ) );
127
} else if (typeof data == "object") {
128
if (data.setNull)
129
upd += DB.quote(f) + "=" + "NULL,";
0 commit comments