mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
Call to get_plain_structure() replaced by a call to get_user_plain_structure()
git-svn-id: http://piwigo.org/svn/trunk@499 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -122,7 +122,7 @@ function get_user_plain_structure()
|
||||
if ( !$user['expand'] )
|
||||
{
|
||||
$query.= ' AND (id_uppercat is NULL';
|
||||
if ( count( $page['tab_expand'] ) > 0 )
|
||||
if ( isset ($page['tab_expand']) && count( $page['tab_expand'] ) > 0 )
|
||||
{
|
||||
$query.= ' OR id_uppercat IN ('.implode(',',$page['tab_expand']).')';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user