From 5d511623e574fe83dcc47dfd64dd4e002ead0d3f Mon Sep 17 00:00:00 2001 From: z0rglub Date: Tue, 23 Sep 2003 21:37:31 +0000 Subject: [PATCH] $cat_directory was not used in the function git-svn-id: http://piwigo.org/svn/trunk@163 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 620495919..9a6a3ba4d 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -45,7 +45,7 @@ function display_pictures( $mysql_result, $maxtime, $validation_box = false ) $array_cat_names[$subrow['cat_id']] = get_cat_display_name( $cat_result['name'], ' > ', '' ); } - $cat_directory = $array_cat_directories[$row['cat_id']]; + $file = get_filename_wo_extension( $subrow['file'] ); // name of the picture $name = $array_cat_names[$subrow['cat_id']].' > ';