[geeklog-cvs] geeklog: Fixed post mode being switched when plain text comment ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Fri Apr 22 13:47:55 EDT 2011
changeset 8244:c09043b55466
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/c09043b55466
user: Tom <websitemaster at cogeco.net>
date: Fri Apr 22 13:47:05 2011 -0400
description:
Fixed post mode being switched when plain text comment was previewed or edited (bug #0001324)
diffstat:
public_html/docs/history | 4 +++-
system/lib-comment.php | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 39a58ea9d1ab -r c09043b55466 public_html/docs/history
--- a/public_html/docs/history Fri Apr 22 16:51:19 2011 +0200
+++ b/public_html/docs/history Fri Apr 22 13:47:05 2011 -0400
@@ -1,12 +1,14 @@
Geeklog History/Changes:
-Apr 2?, 2011 (1.8.0b1)
+Apr 2?, 2011 (1.8.0b2)
------------
This release includes the results from the 2010 Google Summer of Code project
to improve the Configuration (input validation, searching), implemented by
Akeda Bagus.
+- Fixed post mode being switched when plain text comment was previewed or edited
+ (bug #0001324) [Tom]
- Sanitize OAuth user data (bug #0001322) [Dirk]
- Fixed HTML errors in Configuration (bug #0001318, patch provided by dengen)
[Tom, Rouslan]
diff -r 39a58ea9d1ab -r c09043b55466 system/lib-comment.php
--- a/system/lib-comment.php Fri Apr 22 16:51:19 2011 +0200
+++ b/system/lib-comment.php Fri Apr 22 13:47:05 2011 -0400
@@ -778,7 +778,7 @@
. COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
} else {
- if ($_CONF['advanced_editor'] && $_USER['advanced_editor']) {
+ if (empty($postmode) && $_CONF['advanced_editor'] && $_USER['advanced_editor']) {
$postmode = 'html';
} elseif (empty($postmode)) {
$postmode = $_CONF['postmode'];
More information about the geeklog-cvs
mailing list