Till Brehm
2016-07-24 b9a3ef486ebcde18a5ade37865ff8f397185d24f
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;
@@ -283,7 +284,7 @@
            $startmodule=$_modules[0];
         }
      }
      $usertheme = $params["usertheme"];
      $usertheme = (isset($params["usertheme"]) && $params["usertheme"] != '')?$params["usertheme"]:'default';
      $type = 'user';
      $active = 1;
      $insert_id = $app->functions->intval($insert_id);