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 / modules / authsystem [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 10 Aug 2002 02:40:15 | postnuke_official/html/modules/authsystem | pnuserapi.php,1.11,1.12 | Gary Mitchell |
| add GenID to SQL Insert statement | |||
Update of /home/cvsroot/postnuke_official/html/modules/authsystem
In directory ns7.hostnuke.net:/tmp/cvs-serv27851
Modified Files:
pnuserapi.php
Log Message:
add GenID to SQL Insert statement
Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/authsystem/pnuserapi.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pnuserapi.php 14 Jun 2002 09:40:32 -0000 1.11
--- pnuserapi.php 10 Aug 2002 02:40:12 -0000 1.12
***************
*** 305,313 ****
// record does not exist
$query = "INSERT INTO $datatable
! (pn_uda_propid,
pn_uda_uid,
pn_uda_value)
! VALUES ('".pnVarPrepForStore($prop_id)."',
'".pnVarPrepForStore($uid)."',
'".pnVarPrepForStore($value)."')";
--- 305,316 ----
// record does not exist
+ $seq_id = $dbconn->GenId($datatable);
$query = "INSERT INTO $datatable
! (pn_uda_id,
! pn_uda_propid,
pn_uda_uid,
pn_uda_value)
! VALUES ('".$seq_id."',
! '".pnVarPrepForStore($prop_id)."',
'".pnVarPrepForStore($uid)."',
'".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 |