From 40a11658a9f54d04f94d3febc204d09a86622e3e Mon Sep 17 00:00:00 2001 From: z0rglub Date: Wed, 21 Jan 2004 23:33:56 +0000 Subject: Php warnings correction git-svn-id: http://piwigo.org/svn/branches/release-1_3@311 68402e56-0260-453c-a942-63ccdbb3a9ee --- category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'category.php') diff --git a/category.php b/category.php index 08c684709..20dfaed9f 100644 --- a/category.php +++ b/category.php @@ -285,8 +285,8 @@ if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 ) $file = get_filename_wo_extension( $row['file'] ); // name of the picture - if ( $row['name'] != '' ) $name = $row['name']; - else $name = str_replace( '_', ' ', $file ); + if ( isset( $row['name'] ) and $row['name'] != '' ) $name = $row['name']; + else $name = str_replace( '_', ' ', $file ); if ( $page['cat'] == 'search' ) { -- cgit v1.2.3