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 / comments / backend [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 12 Aug 2002 17:40:06 | postnuke_official/html/modules/comments/backend | backend.php,1.12,1.13 | Mike |
| clarify nextid problem | |||
Update of /home/cvsroot/postnuke_official/html/modules/comments/backend
In directory ns7.hostnuke.net:/tmp/cvs-serv29167
Modified Files:
backend.php
Log Message:
clarify nextid problem
Index: backend.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/backend/backend.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** backend.php 12 Aug 2002 17:31:40 -0000 1.12
--- backend.php 12 Aug 2002 17:40:03 -0000 1.13
***************
*** 75,79 ****
$nextid = $cid;
} else {
- // this won't work for MySQL - you need to insert, and then retrieve the last id
$nextid = $dbconn->GenId($pntable['comments']);
}
--- 75,78 ----
***************
*** 101,104 ****
--- 100,104 ----
}
+ // TODO: this won't work for MySQL - you need to insert, and then retrieve the last id
// if the depth of the parent lineage is greater than 1
if ($depth > 0) {
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 |