diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-06-21 19:41:47 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-06-21 19:41:47 +0400 |
commit | c6ec73963fb8d62c6bc060933ca21ee978d29a38 (patch) | |
tree | 4382c9b849033d7a48d8136e65145529ac697124 /db_routines.php | |
parent | 18527251e7036e340d5f0be1fa6122ef3d1081d3 (diff) |
Use PMA_sqlAddSlashes for database queries instead of addslashes.
Should fix bug#3323066
Diffstat (limited to 'db_routines.php')
-rw-r--r-- | db_routines.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_routines.php b/db_routines.php index 1d9523ecd3..ac65af31f2 100644 --- a/db_routines.php +++ b/db_routines.php @@ -97,7 +97,7 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name'])) if (is_array($value)) { // is SET type $value = implode(',', $value); } - $value = PMA_sqladdslashes($value); + $value = PMA_sqlAddSlashes($value); if (! empty($_REQUEST['funcs'][$routine['param_name'][$i]]) && in_array($_REQUEST['funcs'][$routine['param_name'][$i]], $cfg['Functions'])) { $queries[] = "SET @p$i={$_REQUEST['funcs'][$routine['param_name'][$i]]}('$value');\n"; |