aboutsummaryrefslogtreecommitdiffstats
path: root/admin/comments.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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'], ' > ', '' );
}
- $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']].' > ';