From 3a98bb3f881cf0c77c9c85cd5629208a6d9675b9 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 31 Jan 2004 20:38:46 +0000 Subject: Php Warning correction git-svn-id: http://piwigo.org/svn/branches/release-1_3@338 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/comments.php b/admin/comments.php index 3484b7559..a405465ae 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -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']; } -- cgit v1.2.3