From 1ce50505e4b9a6b533146e70902a7e426fd872a7 Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 23 Jun 2009 19:51:16 +0000 Subject: 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 --- include/picture_comment.inc.php | 2 +- template/yoga/comment_list.tpl | 2 +- 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} -
  • +
  • {/foreach} -- cgit v1.2.3