[geeklog-cvs] Geeklog-1.x/plugins/staticpages functions.inc, 1.102, 1.103

Dirk Haun dhaun at qs1489.pair.com
Sat Dec 29 10:26:55 EST 2007


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages
In directory qs1489.pair.com:/tmp/cvs-serv41670/plugins/staticpages

Modified Files:
	functions.inc 
Log Message:
Used wrong variable for printer-friendly version


Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/functions.inc,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -d -r1.102 -r1.103
*** functions.inc	24 Nov 2007 12:42:57 -0000	1.102
--- functions.inc	29 Dec 2007 15:26:53 -0000	1.103
***************
*** 3,7 ****
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Static Pages Plugin 1.4.4                                                 |
  // +---------------------------------------------------------------------------+
  // | functions.inc                                                             |
--- 3,7 ----
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Static Pages Plugin 1.5                                                   |
  // +---------------------------------------------------------------------------+
  // | functions.inc                                                             |
***************
*** 403,407 ****
          $commentsUrl = $sp_url . '#comments';
          $comments = DB_count($_TABLES['comments'],
!                             array('sid', 'type'), array($A['sp_id'], 'staticpages'));
          $numComments = COM_numberFormat ($comments);
          $print->set_var ('story_comments', $numComments);
--- 403,407 ----
          $commentsUrl = $sp_url . '#comments';
          $comments = DB_count($_TABLES['comments'],
!                              array('sid', 'type'), array($page, 'staticpages'));
          $numComments = COM_numberFormat ($comments);
          $print->set_var ('story_comments', $numComments);




More information about the geeklog-cvs mailing list