From 7286eea90ac37522486da0349493e27fe9bc5807 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 9 Jan 2013 15:40:59 +0100 Subject: [PATCH] add the auditor's own domain by default in case of restricted auditor feature --- webui/model/search/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/search.php b/webui/model/search/search.php index 1596bdf8..acccb82c 100644 --- a/webui/model/search/search.php +++ b/webui/model/search/search.php @@ -177,7 +177,7 @@ class ModelSearchSearch extends Model { if(Registry::get('auditor_user') == 1 || ENABLE_FOLDER_RESTRICTIONS == 1) { $domain_restrictions = ''; - $sd = ''; + $sd = $this->fix_email_address_for_sphinx($_SESSION['domain']); foreach ($session_domains as $d) { $sd .= '|'.$d;