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:31:53 | postnuke_official/html/includes | pnMod.php,1.75,1.76 | Gary Mitchell |
fix insert not using GenID to generate the sequence number |
Update of /home/cvsroot/postnuke_official/html/includes In directory ns7.hostnuke.net:/tmp/cvs-serv17271 Modified Files: pnMod.php Log Message: fix insert not using GenID to generate the sequence number Index: pnMod.php =================================================================== RCS file: /home/cvsroot/postnuke_official/html/includes/pnMod.php,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** pnMod.php 28 Jul 2002 03:49:42 -0000 1.75 --- pnMod.php 9 Aug 2002 03:31:51 -0000 1.76 *************** *** 111,120 **** } $query = "INSERT INTO $modulevarstable ! (pn_modname, pn_name, pn_value) VALUES ! ('" . pnVarPrepForStore($modname) . "', '" . pnVarPrepForStore($name) . "', '" . pnVarPrepForStore($value) . "');"; --- 111,123 ---- } + $seq_id = $dbconn->GenId($modulevarstable); $query = "INSERT INTO $modulevarstable ! (pn_id, ! pn_modname, pn_name, pn_value) VALUES ! ('$seq_id', ! '" . pnVarPrepForStore($modname) . "', '" . pnVarPrepForStore($name) . "', '" . pnVarPrepForStore($value) . "');";
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 |