We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bb850 commit 6c2436eCopy full SHA for 6c2436e
interface/lib/classes/remoting_lib.inc.php
@@ -243,9 +243,9 @@ function getDataRecord($primary_id) {
243
if($key == '#OFFSET#') $sql_offset = $app->functions->intval($val);
244
elseif($key == '#LIMIT#') $sql_limit = $app->functions->intval($val);
245
elseif(stristr($val, '%')) {
246
- $sql_where .= "? like ? AND ";
+ $sql_where .= "?? like ? AND ";
247
} else {
248
- $sql_where .= "? = ? AND ";
+ $sql_where .= "?? = ? AND ";
249
}
250
$params[] = $key;
251
$params[] = $val;
0 commit comments