[geeklog-cvs] geeklog: fixed typo :p
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Jan 26 15:54:03 EST 2010
changeset 7656:b50896e5b901
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/b50896e5b901
user: stan <yankees26an at gmail.com>
date: Mon Aug 31 14:51:04 2009 -0400
description:
fixed typo :p
diffstat:
system/lib-comment.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r d3be40ee676a -r b50896e5b901 system/lib-comment.php
--- a/system/lib-comment.php Mon Aug 31 14:45:20 2009 -0400
+++ b/system/lib-comment.php Mon Aug 31 14:51:04 2009 -0400
@@ -1140,7 +1140,7 @@
. "AND sid = '$sid'");
list($rht, $indent) = DB_fetchArray($result);
if ( !DB_error() ) {
- $rht2=$rht+=1;
+ $rht2=$rht+1;
$indent+=1;
DB_query("UPDATE {$_TABLES['comments']} SET lft = lft + 2 "
. "WHERE sid = '$sid' AND type = '$type' AND lft >= $rht");
@@ -1160,7 +1160,7 @@
$ret = 4; // Cannot return here, tables locked!
}
} else {
- $rht2=$rht+=1;
+ $rht2=$rht+1;
$rht3=$rht+2;
$rht = DB_getItem($_TABLES['comments'], 'MAX(rht)', "sid = '$sid'");
if ( DB_error() ) {
More information about the geeklog-cvs
mailing list