From: <te...@us...> - 2012-07-23 03:38:35
|
Revision: 5528 http://web-erp.svn.sourceforge.net/web-erp/?rev=5528&view=rev Author: tehonu Date: 2012-07-23 03:38:28 +0000 (Mon, 23 Jul 2012) Log Message: ----------- Ricard: Fix to prevent 1 transfer to have different dispatch times (+1 second) when transfer is long enough and CPU process is long Modified Paths: -------------- trunk/StockLocTransfer.php Modified: trunk/StockLocTransfer.php =================================================================== --- trunk/StockLocTransfer.php 2012-07-22 03:32:32 UTC (rev 5527) +++ trunk/StockLocTransfer.php 2012-07-23 03:38:28 UTC (rev 5528) @@ -189,7 +189,7 @@ $ErrMsg = _('CRITICAL ERROR') . '! ' . _('Unable to BEGIN Location Transfer transaction'); DB_Txn_Begin($db); - + $Now = Date('Y-m-d H-i-s'); for ($i=0;$i < $_POST['LinesCounter'];$i++){ if($_POST['StockID' . $i] != ''){ @@ -207,7 +207,7 @@ VALUES ('" . $_POST['Trf_ID'] . "', '" . $_POST['StockID' . $i] . "', '" . round(filter_number_format($_POST['StockQTY' . $i]), $DecimalRow['decimalplaces']) . "', - '" . Date('Y-m-d H-i-s'). "', + '" . $Now . "', '" . $_POST['FromStockLocation'] ."', '" . $_POST['ToStockLocation'] . "')"; $ErrMsg = _('CRITICAL ERROR') . '! ' . _('Unable to enter Location Transfer record for'). ' '.$_POST['StockID' . $i]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |