diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_category.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index da3e5e31e..d4fb55aad 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -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']).')'; } |