Right link to change category permissions

git-svn-id: http://piwigo.org/svn/trunk@102 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-09-14 16:03:15 +00:00
parent 6bc2e37eac
commit 08c5ad08c2

View File

@@ -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 )