aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-02-08 20:33:40 +0000
committerrvelices <rv-github@modusoptimus.com>2011-02-08 20:33:40 +0000
commit8ecac421294c955c276117790928550de799deae (patch)
tree72949b0a0f92e0cbceb5becd3fa48cf0e9b36466
parent17786f7735cf59b8835cde9d861b19a56a07642c (diff)
fix admin call to invalidate_user_cache (done less often)
git-svn-id: http://piwigo.org/svn/trunk@9127 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin.php b/admin.php
index 2c2bbad13..8e55b885f 100644
--- a/admin.php
+++ b/admin.php
@@ -205,15 +205,15 @@ if (
'cat_options', // ?only POST; public/private; lock/unlock
'cat_perm', // ?only POST
'picture_modify', // ?only POST; associate/dissociate
- 'user_list', // ?only POST; group assoc
'user_perm',
'group_perm',
'group_list', // delete group
)
)
- or ( isset($_POST) and in_array($page['page'],
+ or ( !empty($_POST) and in_array($page['page'],
array(
'batch_manager', // associate/dissociate; delete; set level
+ 'user_list', // group assoc; user level
)
)
)