2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed bug in the function "format_array_to_update_sql" when the field yet escaped. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a4c6b43b29
commit
b38ab821f2
|
@ -1,8 +1,13 @@
|
|||
2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_db.php: fixed bug in the function
|
||||
"format_array_to_update_sql" when the field yet escaped.
|
||||
|
||||
2010-04-14 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/users/user_list.php: fixed bug 2987177. Wrong index was associated
|
||||
with the delete icon in the users list.
|
||||
|
||||
|
||||
2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_db.php: fixed bug in the function "get_db_value_filter"
|
||||
|
|
|
@ -2196,6 +2196,9 @@ function format_array_to_update_sql ($values) {
|
|||
array_push ($fields, $value);
|
||||
continue;
|
||||
}
|
||||
else if ($field[0] == "`") {
|
||||
$field = str_replace('`', '', $field);
|
||||
}
|
||||
|
||||
if ($value === NULL) {
|
||||
$sql = sprintf ("`%s` = NULL", $field);
|
||||
|
|
Loading…
Reference in New Issue