summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-05 17:16:38 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-05 17:16:38 +0000
commitf371c663c51ee24e31746429ce5a597ab1627813 (patch)
tree6e69e6f4a63ae5f44241cf2a65166762b9308012
parent23937ff1355f3f47f5b42dc3718db1615809371b (diff)
Fix for ticket #114 Permissions seem to be ignored
-rw-r--r--core/models/item.php2
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: