Should be NULL, not 'NULL'
This commit is contained in:
@@ -649,10 +649,11 @@ $(document).ready(function() {
|
||||
for (var key in params_to_submit) {
|
||||
value = params_to_submit[key];
|
||||
if (value.length == 0) {
|
||||
value = 'NULL';
|
||||
}
|
||||
sql_query += ' ' + key + "=NULL, ";
|
||||
} else {
|
||||
sql_query += ' ' + key + "='" + value.replace(/'/g, "''") + "' , ";
|
||||
}
|
||||
}
|
||||
//Remove the last ',' appended in the above loop
|
||||
sql_query = sql_query.replace(/,\s$/, '');
|
||||
sql_query += ' WHERE ' + PMA_urldecode(where_clause);
|
||||
|
Reference in New Issue
Block a user