add the auditor's own domain by default in case of restricted auditor feature

This commit is contained in:
SJ 2013-01-09 15:40:59 +01:00
parent 648836f6f1
commit 7286eea90a

View File

@ -177,7 +177,7 @@ class ModelSearchSearch extends Model {
if(Registry::get('auditor_user') == 1 || ENABLE_FOLDER_RESTRICTIONS == 1) { if(Registry::get('auditor_user') == 1 || ENABLE_FOLDER_RESTRICTIONS == 1) {
$domain_restrictions = ''; $domain_restrictions = '';
$sd = ''; $sd = $this->fix_email_address_for_sphinx($_SESSION['domain']);
foreach ($session_domains as $d) { foreach ($session_domains as $d) {
$sd .= '|'.$d; $sd .= '|'.$d;