|
From: <tu...@us...> - 2017-12-20 18:36:11
|
Revision: 7894
http://sourceforge.net/p/web-erp/reponame/7894
Author: turbopt
Date: 2017-12-20 18:36:08 +0000 (Wed, 20 Dec 2017)
Log Message:
-----------
RCFunctions.inc, FormMaker.php: PHP 7.1 array compatibility change.
Modified Paths:
--------------
trunk/doc/Change.log
trunk/reportwriter/FormMaker.php
trunk/reportwriter/admin/RCFunctions.inc
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2017-12-20 01:29:04 UTC (rev 7893)
+++ trunk/doc/Change.log 2017-12-20 18:36:08 UTC (rev 7894)
@@ -1,5 +1,6 @@
webERP Change Log
+20/12/17 PaulT: RCFunctions.inc, FormMaker.php: PHP 7.1 array compatibility change.
19/12/17 PaulT: PDFOrderStatus.php: Remove redundant ConnectDB.inc include reference. (already included by session.php at the top of the file)
19/12/17 PaulT: Change.log: Correct my Day/Month entry references over the last few days.
19/12/17 PaulT: Contracts.php: Move work center handling causing a partial form to appear after the footer when no work centers exist.
Modified: trunk/reportwriter/FormMaker.php
===================================================================
--- trunk/reportwriter/FormMaker.php 2017-12-20 01:29:04 UTC (rev 7893)
+++ trunk/reportwriter/FormMaker.php 2017-12-20 18:36:08 UTC (rev 7894)
@@ -147,7 +147,7 @@
ORDER BY groupname,
reportname";
$Result=DB_query($sql,'','',false,true);
- $FormList = '';
+ $FormList = array();
while ($Temp = DB_fetch_array($Result)) $FormList[] = $Temp;
foreach ($FormGroups as $index=>$value) {
$Group=explode(':',$index); // break into main group and form group array
Modified: trunk/reportwriter/admin/RCFunctions.inc
===================================================================
--- trunk/reportwriter/admin/RCFunctions.inc 2017-12-20 01:29:04 UTC (rev 7893)
+++ trunk/reportwriter/admin/RCFunctions.inc 2017-12-20 18:36:08 UTC (rev 7894)
@@ -75,7 +75,7 @@
WHERE defaultreport='1' AND reporttype='frm'
ORDER BY groupname, reportname";
$Result=DB_query($sql,'','',false,true);
- $FormList = '';
+ $FormList = array();
while ($Temp = DB_fetch_array($Result)) $FormList[] = $Temp;
foreach ($FormGroups as $index=>$value) {
$Group=explode(':',$index); // break into main group and form group array
|