Marius Burkard
2016-07-05 ec0634332c118fbcd9e30e41563ee669ccf0d787
interface/lib/classes/remoting_lib.inc.php
@@ -98,6 +98,7 @@
      unset($form);
      $this->dateformat = $app->lng('conf_format_dateshort');
      $this->datetimeformat = $app->lng('conf_format_datetime');
      return true;
   }
@@ -243,9 +244,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;