aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2009-06-23 19:51:16 +0000
committernikrou <nikrou@piwigo.org>2009-06-23 19:51:16 +0000
commit1ce50505e4b9a6b533146e70902a7e426fd872a7 (patch)
tree1356bb171a7724fa332be7b0e46cd6fa835bd3b4 /include/picture_comment.inc.php
parent9245227e7095ce46272df8ff2990586e43a915c8 (diff)
fix html bug (li) fix comment for guest bug (form missing)
git-svn-id: http://piwigo.org/svn/trunk@3446 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/picture_comment.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php
index 5dd4c6033..1e30fa2d9 100644
--- a/include/picture_comment.inc.php
+++ b/include/picture_comment.inc.php
@@ -196,7 +196,7 @@ $validated_clause.'
if (!is_a_guest()
or (is_a_guest() and $conf['comments_forall'])
- and (isset($edit_comment) and ($edit_comment != null)))
+ or (empty($edit_comment)))
{
$key = get_comment_post_key($page['image_id']);
$content = '';