mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:31:58 +01:00
Fxed check_your_permission_by_id_list()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
9daad952b4
commit
4d8be0ac99
@ -775,7 +775,7 @@ class ModelSearchSearch extends Model {
|
||||
$q = preg_replace("/^\,/", "", $q);
|
||||
|
||||
|
||||
if(Registry::get('auditor_user') == 1 && RESTRICTED_AUDITOR == 0) {
|
||||
if(Registry::get('auditor_user') == 1 && RESTRICTED_AUDITOR == 0 && ENABLE_FOLDER_RESTRICTIONS == 0) {
|
||||
$query = $this->db->query("SELECT id FROM `" . TABLE_META . "` WHERE `id` IN ($q2)", $arr);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user