[Weberp-svn] SF.net SVN: weberp:[8456] trunk/OrderDetails.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-01-13 22:26:01
|
Revision: 8456 http://weberp.svn.sourceforge.net/weberp/?rev=8456&view=rev Author: tim_schofield Date: 2012-01-13 22:25:55 +0000 (Fri, 13 Jan 2012) Log Message: ----------- use correct names for database functions Modified Paths: -------------- trunk/OrderDetails.php Modified: trunk/OrderDetails.php =================================================================== --- trunk/OrderDetails.php 2012-01-13 22:25:45 UTC (rev 8455) +++ trunk/OrderDetails.php 2012-01-13 22:25:55 UTC (rev 8456) @@ -140,9 +140,9 @@ $ErrMsg = _('The line items of the order cannot be retrieved because'); $DbgMsg = _('The SQL used to retrieve the line items, that failed was'); - $LineItemsResult = db_query($LineItemsSQL,$db, $ErrMsg, $DbgMsg); + $LineItemsResult = DB_query($LineItemsSQL,$db, $ErrMsg, $DbgMsg); - if (db_num_rows($LineItemsResult)>0) { + if (DB_num_rows($LineItemsResult)>0) { $OrderTotal = 0; $OrderTotalVolume = 0; @@ -162,7 +162,7 @@ <th>' . _('Last Del') . '</th> </tr>'; $k=0; - while ($myrow=db_fetch_array($LineItemsResult)) { + while ($myrow=DB_fetch_array($LineItemsResult)) { if ($k==1){ echo '<tr class="EvenTableRows">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |