Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-06-27 16:48:15 +0400
committerMichal Čihař <mcihar@suse.cz>2011-06-27 16:48:15 +0400
commitc9c9fdf49dfde051ce4b94ed8b9f6acc86e25a62 (patch)
tree88f3a2785f5ad79341b60785eda0c2b9c0ca7926 /tbl_replace.php
parent6a422caf527226740155c7e3682f2f3c61a85696 (diff)
Consistent capitalisation of PMA_sqlAddSlashes
Diffstat (limited to 'tbl_replace.php')
-rw-r--r--tbl_replace.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_replace.php b/tbl_replace.php
index 2876b50518..b0c71e6427 100644
--- a/tbl_replace.php
+++ b/tbl_replace.php
@@ -218,7 +218,7 @@ foreach ($loop_array as $rownumber => $where_clause) {
// if the most recent BLOB reference exists, set it as a field value
if (!is_null($bs_reference)) {
- $val = "'" . PMA_sqlAddslashes($bs_reference) . "'";
+ $val = "'" . PMA_sqlAddSlashes($bs_reference) . "'";
}
}
}
@@ -256,7 +256,7 @@ foreach ($loop_array as $rownumber => $where_clause) {
$query_values[] = PMA_backquote($me_fields_name[$key]) . ' = ' . $cur_value;
} elseif (empty($me_funcs[$key])
&& isset($me_fields_prev[$key])
- && ("'" . PMA_sqlAddslashes($me_fields_prev[$key]) . "'" == $val)) {
+ && ("'" . PMA_sqlAddSlashes($me_fields_prev[$key]) . "'" == $val)) {
// No change for this column and no MySQL function is used -> next column
continue;
} elseif (! empty($val)) {