aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_perm.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/cat_perm.php')
-rw-r--r--admin/cat_perm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/cat_perm.php b/admin/cat_perm.php
index 5ef886e1d..79d329115 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -59,7 +59,7 @@ if (!isset($page['cat']))
SELECT id
FROM '.CATEGORIES_TABLE.'
WHERE status = \'private\'
- LIMIT 0 OFFSET 1
+ LIMIT 1
;';
list($page['cat']) = pwg_db_fetch_row(pwg_query($query));