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 / modules / comments / backend [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
10 Aug 2002 13:35:24postnuke_official/html/modules/comments/backendbackend.php,1.9,1.10Gary Mitchell
 add GenID before SQL Insert statement

Update of /home/cvsroot/postnuke_official/html/modules/comments/backend
In directory ns7.hostnuke.net:/tmp/cvs-serv32103

Modified Files:
	backend.php 
Log Message:
add GenID before SQL Insert statement


Index: backend.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/backend/backend.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** backend.php	26 Jul 2002 03:00:49 -0000	1.9
--- backend.php	10 Aug 2002 13:35:22 -0000	1.10
***************
*** 96,102 ****
          }
  
!         $sql = "INSERT INTO $pntable[comments] ($column[modid], $column[itemid], $column[author], 
                              $column[title], $column[comment], $column[hostname], $column[lineage]) 
!                 VALUES('{$modid}','{$itemid}','{$author}','{$title}','{$comment}','{$hostname}')";
  
          $result = $dbconn->Execute($sql);
--- 96,103 ----
          }
  
!         $nextid = $dbconn->GenId($hookstable);
!         $sql = "INSERT INTO $pntable[comments] ($column[cid], $column[modid], $column[itemid], $column[author], 
                              $column[title], $column[comment], $column[hostname], $column[lineage]) 
!                 VALUES('{$nextid}','{$modid}','{$itemid}','{$author}','{$title}','{$comment}','{$hostname}')";
  
          $result = $dbconn->Execute($sql);


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