[geeklog-hg] geeklog: Fixed E_ALL error

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Fri Jan 3 15:37:57 EST 2014


changeset 9374:e8f46d511743
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e8f46d511743
user: dengen <taharaxp at gmail.com>
date: Sat Jan 04 05:37:25 2014 +0900
description:
Fixed E_ALL error

diffstat:

 system/lib-comment.php |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 87243fcd6163 -r e8f46d511743 system/lib-comment.php
--- a/system/lib-comment.php	Fri Jan 03 17:51:34 2014 +0100
+++ b/system/lib-comment.php	Sat Jan 04 05:37:25 2014 +0900
@@ -1003,7 +1003,9 @@
                 }
 
                 if (COMMENT_ON_SAME_PAGE) {
-                    $A['cid'] = $A[CMT_CID];
+                    if (isset($A[CMT_CID])) {
+                        $A['cid'] = $A[CMT_CID];
+                    }
                     $A['sid'] = $A[CMT_SID];
                     $A['pid'] = $A[CMT_PID];
                     $A['uid'] = $A[CMT_UID];



More information about the geeklog-cvs mailing list