From 37e2677503d2617fe50e7976d5384a022de11a7f Mon Sep 17 00:00:00 2001 From: cfoe <cfoe@ispconfig3> Date: Mon, 21 May 2012 11:07:58 -0400 Subject: [PATCH] change from Domäne to Domain in DE_lang-files -> consistent usage + utf8 check --- interface/web/dashboard/ajax_get_json.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/dashboard/ajax_get_json.php b/interface/web/dashboard/ajax_get_json.php index 817853d..b134a84 100644 --- a/interface/web/dashboard/ajax_get_json.php +++ b/interface/web/dashboard/ajax_get_json.php @@ -42,7 +42,7 @@ if($type == 'globalsearch'){ - $q = $app->db->quote($_GET["q"]); + $q = $app->db->quote(trim($_GET["q"])); $authsql = " AND ".$app->tform->getAuthSQL('r'); $modules = explode(',', $_SESSION['s']['user']['modules']); -- Gitblit v1.9.1