|
From: <ex...@us...> - 2016-12-02 07:56:20
|
Revision: 7691
http://sourceforge.net/p/web-erp/reponame/7691
Author: exsonqu
Date: 2016-12-02 07:56:18 +0000 (Fri, 02 Dec 2016)
Log Message:
-----------
2/12/16 Exson: Fixed the no users data displayed bug and copy BOM fields error bug in WWW_Users.php and CopyBOM.php. Thanks for shane's report.
Modified Paths:
--------------
trunk/CopyBOM.php
trunk/WWW_Users.php
Modified: trunk/CopyBOM.php
===================================================================
--- trunk/CopyBOM.php 2016-11-30 05:13:03 UTC (rev 7690)
+++ trunk/CopyBOM.php 2016-12-02 07:56:18 UTC (rev 7691)
@@ -57,7 +57,7 @@
serialised,
appendfile,
perishable,
- decimalplaces,
+ digitals,
nextserialno,
pansize,
shrinkfactor,
@@ -85,7 +85,7 @@
serialised,
appendfile,
perishable,
- decimalplaces,
+ digitals,
nextserialno,
pansize,
shrinkfactor,
@@ -131,7 +131,7 @@
autoissue,
remark,
digitals,
- decimalplaces
+ digitals
FROM bom
WHERE parent='".$StockID."';";
$result = DB_query($sql);
Modified: trunk/WWW_Users.php
===================================================================
--- trunk/WWW_Users.php 2016-11-30 05:13:03 UTC (rev 7690)
+++ trunk/WWW_Users.php 2016-12-02 07:56:18 UTC (rev 7691)
@@ -349,7 +349,7 @@
$Result = DB_query($Sql);
$k = 1;// Row colour counter.
- foreach($Result as $MyRow) {
+ while ($MyRow = DB_fetch_array($Result)) {
if($k == 1) {
echo '<tr class="OddTableRows">';
$k = 0;
|