Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_modules / New_pnadmin / html / modules / admin [ view in CVS ]


Deprecated: Function gmstrftime() is deprecated in /home/mikespub/www/list.php on line 509
Date Directory [filter] File(s) [view] Author [filter]
14 Aug 2002 21:36:21postnuke_modules/New_pnadmin/html/modules/adminpninit.php,1.4,1.5Richard Cave
 Updated function isInAGroup() to always return a record count.

Update of /home/cvsroot/postnuke_modules/New_pnadmin/html/modules/admin
In directory ns7.hostnuke.net:/tmp/cvs-serv25129/New_pnadmin/html/modules/admin

Modified Files:
	pninit.php 
Log Message:
Updated function isInAGroup() to always return a record count.


Index: pninit.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/New_pnadmin/html/modules/admin/pninit.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pninit.php	14 Aug 2002 20:09:45 -0000	1.4
--- pninit.php	14 Aug 2002 21:36:18 -0000	1.5
***************
*** 29,32 ****
--- 29,34 ----
  function isInAGroup($mID)
  {
+     $recordCount = 0;
+ 
      list($dbconn)   = pnDBGetConn();
      if(function_exists(admin_pntables)){
***************
*** 41,47 ****
      $result = $dbconn->Execute( $query );
      if ($result == false) {        
!         pnSessionSetVar('errormsg', "SELECT of ".$table." table failed.");
!         $recordCount = 0;
!     } else {
          $recordCount = $result->fields[0];
      }
--- 43,48 ----
      $result = $dbconn->Execute( $query );
      if ($result == false) {        
!         pnSessionSetVar('errormsg', "SELECT of ".$table." table failed."); 
!     } else ( !$result->EOF ) {
          $recordCount = $result->fields[0];
      }


Directory filter : [ all ] / postnuke_modules / New_pnadmin / html / modules / admin [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3