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:
parent
6bc2e37eac
commit
08c5ad08c2
1 changed files with 2 additions and 0 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue