aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_perm.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-06-21 14:48:43 +0000
committerflop25 <flop25@piwigo.org>2013-06-21 14:48:43 +0000
commit55d91fffd1f71663444fcedbc2acd64b3ee7468d (patch)
treec7a89acd1a648cf702ce46bb82cb2b71f2765e2b /admin/cat_perm.php
parent231e718ccfd94fae119e5b5f7b7ccaa44278a6bb (diff)
bug:2855
check "Apply to sub" checkbox if $conf inheritance_by_default is true add admins to the users granted optimizations git-svn-id: http://piwigo.org/svn/trunk@23430 68402e56-0260-453c-a942-63ccdbb3a9ee
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 ad9ff1a05..b7b32ac2e 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -319,7 +319,7 @@ SELECT user_id, group_id
// +-----------------------------------------------------------------------+
// | sending html code |
// +-----------------------------------------------------------------------+
-$template->assign(array('PWG_TOKEN' => get_pwg_token()));
+$template->assign(array('PWG_TOKEN' => get_pwg_token(), 'INHERIT' => $conf['inheritance_by_default']));
$template->assign_var_from_handle('ADMIN_CONTENT', 'cat_perm');
?>