[Cwispy-devel] cwispy2/admin man_account.php, 1.21, 1.22 man_customer.php, 1.34, 1.35
Status: Abandoned
Brought to you by:
cwispy
From: Shane C. <cw...@us...> - 2007-12-01 13:13:17
|
Update of /cvsroot/cwispy/cwispy2/admin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv12177 Modified Files: man_account.php man_customer.php Log Message: nextID changes for MDB2 Index: man_customer.php =================================================================== RCS file: /cvsroot/cwispy/cwispy2/admin/man_customer.php,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- man_customer.php 25 Nov 2007 12:28:43 -0000 1.34 +++ man_customer.php 1 Dec 2007 13:13:14 -0000 1.35 @@ -168,7 +168,7 @@ /* No dont use crypted passwords */ $cryptedpass = $_POST['password']; } - $id = $db->nextId('customers'); + $id = $db->nextID('customers', true); if (PEAR::isError($id)) { echo $result->getDebugInfo(); Index: man_account.php =================================================================== RCS file: /cvsroot/cwispy/cwispy2/admin/man_account.php,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- man_account.php 30 Nov 2007 13:31:33 -0000 1.21 +++ man_account.php 1 Dec 2007 13:13:14 -0000 1.22 @@ -164,7 +164,7 @@ if (isset($_POST['action']) && ($_POST['action'] == "new")) { - $id = $db->nextId('accounts'); + $id = $db->nextID('accounts', true); $sql = <<<END INSERT INTO accounts |