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 NoticeDirectory filter : [ all ] / postnuke_official / html / includes [ view in CVS ]
Date | Directory [filter] | File(s) [view] | Author [filter] |
09 Aug 2002 03:27:43 | postnuke_official/html/includes | pnBlocks.php,1.51,1.52 | Gary 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 ---- } ! ?>
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 |