Marius Burkard
2016-02-10 af01e42f2b0b17bacba3e78aeea12b7c235688f5
interface/lib/classes/remoting_lib.inc.php
@@ -243,9 +243,9 @@
            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;