diff options
Diffstat (limited to 'admin/cat_list.php')
-rw-r--r-- | admin/cat_list.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php index 25ff9ea76..4f32b5ee1 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -30,7 +30,7 @@ $query.= ' FROM '.PREFIX_TABLE.'categories'; $query.= ';'; $row = mysql_fetch_array( mysql_query( $query ) ); if ( $row['nb_total_categories'] < $conf['max_LOV_categories'] - or $_GET['expand'] == 'all' ) + or ( isset( $_GET['expand'] ) and $_GET['expand'] == 'all' ) ) { $page['tab_expand'] = array(); $page['expand'] = 'all'; |