Php Warning correction

git-svn-id: http://piwigo.org/svn/branches/release-1_3@338 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub 2004-01-31 20:38:46 +00:00
parent c586d4ff63
commit 3a98bb3f88

View file

@ -49,7 +49,7 @@ function display_pictures( $mysql_result, $maxtime, $validation_box = false )
$file = get_filename_wo_extension( $subrow['file'] );
// name of the picture
$name = $array_cat_names[$subrow['cat_id']].' > ';
if ( $subrow['name'] != '' )
if ( isset( $subrow['name'] ) and $subrow['name'] != '' )
{
$name.= $subrow['name'];
}