[geeklog-cvs] geeklog: Comment submissions for plugins were missing the type (...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat May 15 17:17:07 EDT 2010
changeset 7935:55c81bdb1d34
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/55c81bdb1d34
user: Dirk Haun <dirk at haun-online.de>
date: Sat May 15 23:01:57 2010 +0200
description:
Comment submissions for plugins were missing the type (regression - this worked in 1.6.1)
diffstat:
public_html/docs/history | 9 +++++++++
system/lib-comment.php | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 8dd92a2ea0fb -r 55c81bdb1d34 public_html/docs/history
--- a/public_html/docs/history Mon May 03 10:54:21 2010 -0400
+++ b/public_html/docs/history Sat May 15 23:01:57 2010 +0200
@@ -3,12 +3,21 @@
??? ?, 2010 (1.7.1)
-----------
+- Comment submissions for plugins were missing the type [Dirk]
- In the Group Editor, hide the 'Apply "Default Group" change' option until the
state of the "Default Group" checkbox changes (feature request #0001116,
patch provided by Dushyant Tiwari)
+- Fixed handling of $LANG_DIRECTION in the install script (cf. bug #0000871)
+- Fixed query highlighting in articles - didn't work for queries that contained
+ characters filtered by COM_applyFilter [Dirk]
- New and updated French (France) language files, provided by Ben
+Static Pages Plugin
+-------------------
+- Call up the Advanced Editor when enabled (bug #0001147, patch provided by
+ Samuel Leathers)
+
May 9, 2010 (1.7.0)
-----------
diff -r 8dd92a2ea0fb -r 55c81bdb1d34 system/lib-comment.php
--- a/system/lib-comment.php Mon May 03 10:54:21 2010 -0400
+++ b/system/lib-comment.php Sat May 15 23:01:57 2010 +0200
@@ -1130,9 +1130,9 @@
!SEC_hasRights('comment.submit')) {
// comment into comment submission table enabled
if (isset($name)) {
- DB_query("INSERT INTO {$_TABLES['commentsubmissions']} (sid,uid,name,comment,date,title,pid,ipaddress) VALUES ('$sid',$uid,'$name','$comment',NOW(),'$title',$pid,'{$_SERVER['REMOTE_ADDR']}')");
+ DB_query("INSERT INTO {$_TABLES['commentsubmissions']} (sid,uid,name,comment,type,date,title,pid,ipaddress) VALUES ('$sid',$uid,'$name','$comment','$type',NOW(),'$title',$pid,'{$_SERVER['REMOTE_ADDR']}')");
} else {
- DB_query("INSERT INTO {$_TABLES['commentsubmissions']} (sid,uid,comment,date,title,pid,ipaddress) VALUES ('$sid',$uid,'$comment',NOW(),'$title',$pid,'{$_SERVER['REMOTE_ADDR']}')");
+ DB_query("INSERT INTO {$_TABLES['commentsubmissions']} (sid,uid,comment,type,date,title,pid,ipaddress) VALUES ('$sid',$uid,'$comment','$type',NOW(),'$title',$pid,'{$_SERVER['REMOTE_ADDR']}')");
}
$ret = -1; // comment queued
More information about the geeklog-cvs
mailing list