From: <dai...@us...> - 2012-01-15 06:52:19
|
Revision: 4798 http://web-erp.svn.sourceforge.net/web-erp/?rev=4798&view=rev Author: daintree Date: 2012-01-15 06:52:12 +0000 (Sun, 15 Jan 2012) Log Message: ----------- removed db_ in function names replaced with DB_ Modified Paths: -------------- trunk/ConfirmDispatch_Invoice.php trunk/Credit_Invoice.php Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-01-13 07:17:29 UTC (rev 4797) +++ trunk/ConfirmDispatch_Invoice.php 2012-01-15 06:52:12 UTC (rev 4798) @@ -160,9 +160,9 @@ $DbgMsg = _('The SQL that failed was'); $LineItemsResult = DB_query($LineItemsSQL,$db,$ErrMsg,$DbgMsg); - if (db_num_rows($LineItemsResult)>0) { + if (DB_num_rows($LineItemsResult)>0) { - while ($myrow=db_fetch_array($LineItemsResult)) { + while ($myrow=DB_fetch_array($LineItemsResult)) { $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-13 07:17:29 UTC (rev 4797) +++ trunk/Credit_Invoice.php 2012-01-15 06:52:12 UTC (rev 4798) @@ -127,9 +127,9 @@ $LineItemsResult = DB_query($LineItemsSQL,$db,$ErrMsg, $DbgMsg); - if (db_num_rows($LineItemsResult)>0) { + if (DB_num_rows($LineItemsResult)>0) { - while ($myrow=db_fetch_array($LineItemsResult)) { + while ($myrow=DB_fetch_array($LineItemsResult)) { $LineNumber = $_SESSION['CreditItems']->LineCounter; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |