aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r--engine/lib/access.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 655145e0e..5e08f2f9c 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -110,6 +110,8 @@
$sql = " ({$table_prefix}access_id in {$access} or ({$table_prefix}access_id = 0 and {$table_prefix}owner_guid = {$_SESSION['id']}))";
}
+ else
+ $sql = " 1 ";
return $sql;
}