From 08c5ad08c2a898c6077bd2dc6a994f5dcae982eb Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 14 Sep 2003 16:03:15 +0000 Subject: Right link to change category permissions git-svn-id: http://piwigo.org/svn/trunk@102 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/group_perm.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'admin/group_perm.php') 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&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 ) -- cgit v1.2.3