aboutsummaryrefslogtreecommitdiffstats
path: root/admin/comments.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-21 23:33:56 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-21 23:33:56 +0000
commit40a11658a9f54d04f94d3febc204d09a86622e3e (patch)
tree96fd59aed7a124f73faa74d25a0f76d6d8233da4 /admin/comments.php
parent5c5c69f9a03eb956399d1394decfb4092c4959da (diff)
Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@311 68402e56-0260-453c-a942-63ccdbb3a9ee
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 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'] );