aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/picture_comment.inc.php2
-rw-r--r--template/yoga/comment_list.tpl2
2 files changed, 2 insertions, 2 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 = '';
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
index 2f453ecde..ece0c652b 100644
--- a/template/yoga/comment_list.tpl
+++ b/template/yoga/comment_list.tpl
@@ -53,6 +53,6 @@
{/if}
</div>
</div>
-<li>
+</li>
{/foreach}
</ul>