Commit 6c2436ec authored by Jan-Claas Dirks's avatar Jan-Claas Dirks

correct backticking of columns in queries from soap interface

parent 74bb8508
......@@ -243,9 +243,9 @@ class remoting_lib extends tform_base {
if($key == '#OFFSET#') $sql_offset = $app->functions->intval($val);
elseif($key == '#LIMIT#') $sql_limit = $app->functions->intval($val);
elseif(stristr($val, '%')) {
$sql_where .= "? like ? AND ";
$sql_where .= "?? like ? AND ";
} else {
$sql_where .= "? = ? AND ";
$sql_where .= "?? = ? AND ";
}
$params[] = $key;
$params[] = $val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment