Rename = edit operator to SQL
This commit is contained in:
parent
e287642e26
commit
ada8917e43
|
@ -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"];
|
||||||
|
|
Loading…
Reference in a new issue