|
From: <rc...@us...> - 2017-01-06 00:44:23
|
Revision: 7718
http://sourceforge.net/p/web-erp/reponame/7718
Author: rchacon
Date: 2017-01-06 00:44:21 +0000 (Fri, 06 Jan 2017)
Log Message:
-----------
Fix named key in Associative array with config value. Thanks Tim.
Modified Paths:
--------------
trunk/GLCashFlowsIndirect.php
trunk/doc/Change.log
Modified: trunk/GLCashFlowsIndirect.php
===================================================================
--- trunk/GLCashFlowsIndirect.php 2017-01-05 18:23:30 UTC (rev 7717)
+++ trunk/GLCashFlowsIndirect.php 2017-01-06 00:44:21 UTC (rev 7718)
@@ -112,7 +112,8 @@
$Result = DB_query("SELECT retainedearnings FROM companies WHERE coycode = 1");
$MyRow = DB_fetch_array($Result);
if($MyRow) {
- $_SESSION['RetainedEarningsAccount'] = $MyRow['confvalue'];
+/* $_SESSION['RetainedEarningsAccount'] = $MyRow['confvalue'];// RChacon: See above comment */
+ $_SESSION['RetainedEarningsAccount'] = $MyRow['retainedearnings'];
}
}
include('includes/GLPostings.inc');// Posts pending GL transactions.
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2017-01-05 18:23:30 UTC (rev 7717)
+++ trunk/doc/Change.log 2017-01-06 00:44:21 UTC (rev 7718)
@@ -1,5 +1,6 @@
webERP Change Log
+05/01/17 RChacon: In GLCashFlowsIndirect.php, fix named key in Associative array with config value. Thanks Tim.
05/01/17 RChacon: For strict Standards, removes the "&" before the variable in DB_fetch_row() and in DB_fetch_array() in ConnectDB_XXX.inc. Thanks Tim.
21/12/16 RChacon: In PurchasesReport.php, fix date comparison and title. Thanks Tim.
20/12/16 RChacon: Standardise to "Print" button.
|