diff options
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 7036a2fb2..3484b7559 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -36,7 +36,7 @@ function display_pictures( $mysql_result, $maxtime, $validation_box = false ) $subresult = mysql_query( $query ); $subrow = mysql_fetch_array( $subresult ); - if ( $array_cat_directories[$subrow['cat_id']] == '' ) + if ( !isset( $array_cat_directories[$subrow['cat_id']] ) ) { $array_cat_directories[$subrow['cat_id']] = get_complete_dir( $subrow['cat_id'] ); |