From: jakubvrana Date: Wed, 5 May 2010 08:52:20 +0000 (+0000) Subject: Apply processInput to modified value X-Git-Tag: v3.0.0~145 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=8b7aefcb94838fee0070b20f9dafa59c31c83197;p=adminer.git Apply processInput to modified value git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1515 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 05ed3e07..519c38b1 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -112,7 +112,7 @@ if ($_POST && !$error) { $set = array(); foreach ($row as $key => $val) { $key = bracket_escape($key, 1); // 1 - back - $set[] = idf_escape($key) . " = " . $connection->quote($adminer->editVal($val, $fields[$key])); + $set[] = idf_escape($key) . " = " . $adminer->processInput($fields[$key], $val); } $result = queries("UPDATE" . limit1(idf_escape($TABLE) . " SET " . implode(", ", $set) . " WHERE " . where_check($unique_idf) . ($where ? " AND " . implode(" AND ", $where) : ""))); // can change row on a different page without unique key if (!$result) {