summaryrefslogtreecommitdiff
path: root/page_watches.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2009-10-08 19:39:49 +0000
committerwjames5 <will@tekimaki.com>2009-10-08 19:39:49 +0000
commit59076b5be5a570017beae0885c1bf300c3373130 (patch)
treeb883668eae6922502c418a54aae82d8a2b04bb31 /page_watches.php
parenta1bd3c36aeb48248459f5ba54f8a1bd12a505d3a (diff)
downloadwiki-59076b5be5a570017beae0885c1bf300c3373130.tar.gz
wiki-59076b5be5a570017beae0885c1bf300c3373130.tar.bz2
wiki-59076b5be5a570017beae0885c1bf300c3373130.zip
remove false setting of comment content id
Diffstat (limited to 'page_watches.php')
-rw-r--r--page_watches.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/page_watches.php b/page_watches.php
index a2aa5fa..312efea 100644
--- a/page_watches.php
+++ b/page_watches.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.8 2009/10/01 14:17:07 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.9 2009/10/08 19:39:49 wjames5 Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See below for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
*
- * $Id: page_watches.php,v 1.8 2009/10/01 14:17:07 wjames5 Exp $
+ * $Id: page_watches.php,v 1.9 2009/10/08 19:39:49 wjames5 Exp $
* @package wiki
* @subpackage functions
*/
@@ -27,7 +27,7 @@ $gBitSystem->verifyPermission( 'p_admin_users', tra( "Permission denied you cann
include( WIKI_PKG_PATH.'lookup_page_inc.php' );
// make comment count for this page available for templates
-$gComment = new LibertyComment( NULL, $gContent->mContentId );
+$gComment = new LibertyComment();
$numComments = $gComment->getNumComments($gContent->mContentId);
$gBitSmarty->assign('comments_count', $numComments);