aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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 = '';