mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Rename = edit operator to SQL
This commit is contained in:
@@ -510,7 +510,7 @@ username.form['auth[driver]'].onchange();
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($key && !ereg('set|blob|bytea|raw|file', $field["type"])) {
|
if ($key && !ereg('set|blob|bytea|raw|file', $field["type"])) {
|
||||||
$return .= "/=";
|
$return .= "/SQL";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -541,7 +541,7 @@ username.form['auth[driver]'].onchange();
|
|||||||
* @return string expression to use in a query
|
* @return string expression to use in a query
|
||||||
*/
|
*/
|
||||||
function processInput($field, $value, $function = "") {
|
function processInput($field, $value, $function = "") {
|
||||||
if ($function == "=") {
|
if ($function == "SQL") {
|
||||||
return $value; // SQL injection
|
return $value; // SQL injection
|
||||||
}
|
}
|
||||||
$name = $field["field"];
|
$name = $field["field"];
|
||||||
|
Reference in New Issue
Block a user