[geeklog-cvs] geeklog: Missing single quote
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Feb 17 14:32:22 EST 2010
changeset 7731:60c5f6c9b22d
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/60c5f6c9b22d
user: Dirk Haun <dirk at haun-online.de>
date: Wed Feb 17 14:32:34 2010 +0100
description:
Missing single quote
diffstat:
system/lib-comment.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b24ea8fc13c9 -r 60c5f6c9b22d system/lib-comment.php
--- a/system/lib-comment.php Tue Feb 16 20:37:56 2010 +0100
+++ b/system/lib-comment.php Wed Feb 17 14:32:34 2010 +0100
@@ -1130,7 +1130,7 @@
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']}')");
} 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,date,title,pid,ipaddress) VALUES ('$sid',$uid,'$comment',NOW(),'$title',$pid,'{$_SERVER['REMOTE_ADDR']}')");
}
$ret = -1; // comment queued
More information about the geeklog-cvs
mailing list