mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@311 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ function display_pictures( $mysql_result, $maxtime, $validation_box = false )
|
||||
$subresult = mysql_query( $query );
|
||||
$subrow = mysql_fetch_array( $subresult );
|
||||
|
||||
if ( $array_cat_directories[$subrow['cat_id']] == '' )
|
||||
if ( !isset( $array_cat_directories[$subrow['cat_id']] ) )
|
||||
{
|
||||
$array_cat_directories[$subrow['cat_id']] =
|
||||
get_complete_dir( $subrow['cat_id'] );
|
||||
|
||||
Reference in New Issue
Block a user