diff options
-rw-r--r-- | core/models/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/item.php b/core/models/item.php index d90f039e..591d292e 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -54,7 +54,7 @@ class Item_Model extends ORM_MPTT { break; case 1: - $this->where($this->view_restrictions); + $this->where($this->view_restrictions[0], access::ALLOW); break; default: |