[geeklog-cvs] geeklog: Undefined variable (typo?) caused the number of comment...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Feb 17 14:32:20 EST 2010


changeset 7729:6e5f216aecb2
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/6e5f216aecb2
user: Dirk Haun <dirk at haun-online.de>
date: Tue Feb 16 20:14:19 2010 +0100
description:
Undefined variable (typo?) caused the number of comments in a story's printable view to always be 0 (via glFusion)

diffstat:

 system/classes/story.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ce8fa687aa32 -r 6e5f216aecb2 system/classes/story.class.php
--- a/system/classes/story.class.php	Tue Feb 16 19:42:51 2010 +0100
+++ b/system/classes/story.class.php	Tue Feb 16 20:14:19 2010 +0100
@@ -2112,7 +2112,7 @@
             $this->_hits = 0;
         }
 
-        if (empty($this->_commentcount)) {
+        if (empty($this->_comments)) {
             $this->_comments = 0;
         }
 



More information about the geeklog-cvs mailing list