From: <vv...@us...> - 2012-01-20 22:56:05
|
Revision: 4823 http://web-erp.svn.sourceforge.net/web-erp/?rev=4823&view=rev Author: vvs2012 Date: 2012-01-20 22:55:59 +0000 (Fri, 20 Jan 2012) Log Message: ----------- Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php Modified Paths: -------------- trunk/Z_ChangeStockCode.php trunk/doc/Change.log Modified: trunk/Z_ChangeStockCode.php =================================================================== --- trunk/Z_ChangeStockCode.php 2012-01-20 22:52:45 UTC (rev 4822) +++ trunk/Z_ChangeStockCode.php 2012-01-20 22:55:59 UTC (rev 4823) @@ -134,7 +134,7 @@ //check if MRP tables exist before assuming $result = DB_query("SELECT COUNT(*) FROM mrpplannedorders",$db,'','',false,false); - if ($DB_error_no($db)==0) { + if (DB_error_no($db)==0) { echo '<br />' . _('Changing MRP planned orders information'); $sql = "UPDATE mrpplannedorders SET part='" . $_POST['NewStockID'] . "' WHERE part='" . $_POST['OldStockID'] . "'"; $ErrMsg = _('The SQL to update the mrpplannedorders records failed'); Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-01-20 22:52:45 UTC (rev 4822) +++ trunk/doc/Change.log 2012-01-20 22:55:59 UTC (rev 4823) @@ -1,5 +1,6 @@ webERP Change Log +20/1/12 Vitaly: Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php 20/1/12 Vitaly: xhtml fixes in CustomerBranches.php StockAdjustments.php WorkOrderEntry.php 20/1/12 Tim: Merge tendering system from Tim's branch 20/1/12 Tim: Merge xhtml fixes from Tim's branch: Labels.php TaxGroups.php GLCodesInquiry.php CustomerInquiry.php SalesByTypePeriodInquiry.php ContractBOM.php Shippers.php MRPPlannedWorkOrders.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |