diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-01-21 07:43:54 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-01-21 07:43:54 +0000 |
commit | 9180de2f11005b75bbbd0966860e355530c3b2aa (patch) | |
tree | 1a3ac80ac5a80c8e834bde16280f100a8bfddf58 /admin | |
parent | e8f465a67a13ab6e8b662302c3910e94306d2b5f (diff) |
Php warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@305 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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'; |