mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:57:03 +02:00
admin user can tag search results, too
This commit is contained in:
@ -461,9 +461,9 @@ class ModelSearchSearch extends Model {
|
||||
$q = $q2 = '';
|
||||
$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;
|
||||
|
||||
|
Reference in New Issue
Block a user