aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-14 16:03:15 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-14 16:03:15 +0000
commit08c5ad08c2a898c6077bd2dc6a994f5dcae982eb (patch)
treee45b4ffd9824ebfc5f94a1832ab50b4996477224 /admin
parent6bc2e37eac322bf31b676f9002959b5b8511f195 (diff)
Right link to change category permissions
git-svn-id: http://piwigo.org/svn/trunk@102 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/group_perm.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/group_perm.php b/admin/group_perm.php
index f2993f07c..6c7006411 100644
--- a/admin/group_perm.php
+++ b/admin/group_perm.php
@@ -70,6 +70,8 @@ while ( $row = mysql_fetch_array( $result ) )
{
$vtp->addSession( $sub, 'category' );
$vtp->setVar( $sub, 'category.id', $row['id'] );
+ $url = './admin.php?page=cat_perm&amp;cat_id='.$row['id'];
+ $vtp->setVar( $sub, 'category.cat_perm_link', add_session_id( $url ) );
// Is the group allowed to access this category
$is_group_allowed = is_group_allowed( $row['id'], $restrictions );
if ( $is_group_allowed == 0 )