Php warning correction

git-svn-id: http://piwigo.org/svn/branches/release-1_3@305 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-01-21 07:43:54 +00:00
parent e8f465a67a
commit 9180de2f11
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -17,7 +17,7 @@
* *
***************************************************************************/
define( PREFIX_INCLUDE, '' );
define( 'PREFIX_INCLUDE', '' );
include_once( './include/functions.inc.php' );
database_connection();
// retrieving configuration informations