aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/comments.php2
1 files changed, 1 insertions, 1 deletions
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'];
}