Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues With Lists Using foreach($Result as $MyRow)
04-07-2017, 01:46 AM (This post was last modified: 04-07-2017 02:46 AM by VortecCPI.)
Post: #1
Issues With Lists Using foreach($Result as $MyRow)
I thought this may be helpful to others who may have encountered issues with a few pages that show empty lists in 4.13.1.

I had to replace "foreach($Result as $MyRow)" with "while ($MyRow = DB_fetch_array($Result))" in the following files:

+ GLAccounts.php
+ GLCashFlowsIndirect.php
+ GLCashFlowsSetup.php
+ WWW_Users.php

For reference I am using the following:

+ ClearOS Community 6.8.0
+ webERP 4.13.1
+ MySQL 5.1.73
+ PHP 5.3.3

Outstanding work, by the way!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Issues With Lists Using foreach($Result as $MyRow) - VortecCPI - 04-07-2017 01:46 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)