diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-01-31 20:38:46 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-01-31 20:38:46 +0000 |
commit | 3a98bb3f881cf0c77c9c85cd5629208a6d9675b9 (patch) | |
tree | 1efde5f13617b93c2423aa42c2b5a82a9bf0331b /admin/comments.php | |
parent | c586d4ff63e1d5128de2b71e18d6d1aa8c796bed (diff) |
Php Warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@338 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/comments.php')
-rw-r--r-- | admin/comments.php | 2 |
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']; } |