diff options
author | nikrou <nikrou@piwigo.org> | 2009-06-23 19:51:16 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-06-23 19:51:16 +0000 |
commit | 1ce50505e4b9a6b533146e70902a7e426fd872a7 (patch) | |
tree | 1356bb171a7724fa332be7b0e46cd6fa835bd3b4 | |
parent | 9245227e7095ce46272df8ff2990586e43a915c8 (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.php | 2 | ||||
-rw-r--r-- | 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} </div> </div> -<li> +</li> {/foreach} </ul> |