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_official / html / includes [ 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]
09 Aug 2002 03:27:43postnuke_official/html/includespnBlocks.php,1.51,1.52Gary Mitchell
 fix insert not using GenID to generate a sequence number

Update of /home/cvsroot/postnuke_official/html/includes
In directory ns7.hostnuke.net:/tmp/cvs-serv17224

Modified Files:
	pnBlocks.php 
Log Message:
fix insert not using GenID to generate a sequence number


Index: pnBlocks.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/includes/pnBlocks.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** pnBlocks.php	8 Aug 2002 19:24:22 -0000	1.51
--- pnBlocks.php	9 Aug 2002 03:27:40 -0000	1.52
***************
*** 580,584 ****
      $block_types_table = $pntable['block_types'];
      
!     $query = "INSERT INTO $block_types_table (pn_module, pn_type) VALUES ('$module', '$type');";
      $dbconn->Execute($query);
  
--- 580,585 ----
      $block_types_table = $pntable['block_types'];
      
!     $seq_id = $dbconn->GenId($block_types_table);
!     $query = "INSERT INTO $block_types_table (pn_id, pn_module, pn_type) VALUES ('$seq_id', '$module', '$type');";
      $dbconn->Execute($query);
  
***************
*** 628,630 ****
  }
  
! ?>
\ No newline at end of file
--- 629,631 ----
  }
  
! ?>


Directory filter : [ all ] / postnuke_official / html / includes [ 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