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 / base [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
10 Aug 2002 02:48:55postnuke_official/html/modules/basepninit.php,1.12,1.13Gary Mitchell
 add GenID to SQL Insert Statement

Update of /home/cvsroot/postnuke_official/html/modules/base
In directory ns7.hostnuke.net:/tmp/cvs-serv28180

Modified Files:
	pninit.php 
Log Message:
add GenID to SQL Insert Statement


Index: pninit.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/base/pninit.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** pninit.php	9 Aug 2002 13:33:48 -0000	1.12
--- pninit.php	10 Aug 2002 02:48:53 -0000	1.13
***************
*** 401,405 ****
  
      // Install Modules module
!     $query = "INSERT INTO {$prefix}_modules (pn_name, pn_type, pn_displayname, pn_description, pn_regid, pn_directory, pn_version, pn_admin_capable, pn_user_capable, pn_state) VALUES ('modules', 2, 'Modules', 'Module configuration', 1, 'modules', '2.02', 1, 0, 3);";
      $dbconn->Execute($query);
  
--- 401,406 ----
  
      // Install Modules module
!     $seq_id = $dbconn->GenId($prefix.'_modules');
!     $query = "INSERT INTO {$prefix}_modules (pn_id, pn_name, pn_type, pn_displayname, pn_description, pn_regid, pn_directory, pn_version, pn_admin_capable, pn_user_capable, pn_state) VALUES ('".$seq_id."', 'modules', 2, 'Modules', 'Module configuration', 1, 'modules', '2.02', 1, 0, 3);";
      $dbconn->Execute($query);
  


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