admin user can tag search results, too

This commit is contained in:
SJ 2012-04-27 22:48:55 +02:00
parent ee7a51f1dd
commit 1eb5d46e74

View File

@ -461,9 +461,9 @@ class ModelSearchSearch extends Model {
$q = $q2 = ''; $q = $q2 = '';
$arr = $a = $result = array(); $arr = $a = $result = array();
if($id == '') { return 0; } if(count($id) < 1) { return array(); }
if(Registry::get('admin_user') == 1 || Registry::get('auditor_user') == 1) { return 1; } if(Registry::get('admin_user') == 1 || Registry::get('auditor_user') == 1) { return $id; }
$arr = $id; $arr = $id;