mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user