aboutsummaryrefslogtreecommitdiffstats
path: root/admin/comments.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-23 21:37:31 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-23 21:37:31 +0000
commit5d511623e574fe83dcc47dfd64dd4e002ead0d3f (patch)
tree3afb85985c4f26de79015ec9809569d7c1127faa /admin/comments.php
parent8f1394a7b7b9ab9745928c85f1037b21211f934d (diff)
$cat_directory was not used in the function
git-svn-id: http://piwigo.org/svn/trunk@163 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/comments.php')
-rw-r--r--admin/comments.php2
1 files changed, 1 insertions, 1 deletions
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'], ' &gt; ', '' );
}
- $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']].' &gt; ';