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 20:09:20postnuke_modules/New_pnadmin/html/modules/adminpnfunctions.php,1.4,1.5Richard Cave
 Fixed errors in generating id for INSERT

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

Modified Files:
	pnfunctions.php 
Log Message:
Fixed errors in generating id for INSERT


Index: pnfunctions.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/New_pnadmin/html/modules/admin/pnfunctions.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pnfunctions.php	10 Aug 2002 15:58:20 -0000	1.4
--- pnfunctions.php	14 Aug 2002 20:09:17 -0000	1.5
***************
*** 112,116 ****
          return;
      }
!     for (; !$result->EOF; $result->MoveNext() ) {
          $group[$i]['name']          = $result->fields[0];
          $group[$i]['id']            = $result->fields[1];
--- 112,116 ----
          return;
      }
!     for ($i = 0; !$result->EOF; $result->MoveNext(), $i++ ) {
          $group[$i]['name']          = $result->fields[0];
          $group[$i]['id']            = $result->fields[1];
***************
*** 531,535 ****
      } else {
          // Get number of records
!         $recordCount == $resultCnt->fields[0];
      }
  
--- 531,535 ----
      } else {
          // Get number of records
!         $recordCount = $resultCnt->fields[0];
      }
  
***************
*** 810,814 ****
  
      // Generate id
!     $groupID = $dbconn->GenId($column['id']);
  
      $query      = "INSERT INTO ".$table." (".$column['id'].",".$column['name'].",".$column['order'].
--- 810,814 ----
  
      // Generate id
!     $groupID = $dbconn->GenId( $table );
  
      $query      = "INSERT INTO ".$table." (".$column['id'].",".$column['name'].",".$column['order'].
***************
*** 822,826 ****
  
      // Get the newly generated id
!     $groupID = $dbconn->PO_Insert_ID( $pntable, $column['id'] );
  
      return $groupID;
--- 822,826 ----
  
      // Get the newly generated id
!     $groupID = $dbconn->PO_Insert_ID( $table, $column['id'] );
  
      return $groupID;


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