Reviewed: https://reviews.mahara.org/9280 Committed: https://git.mahara.org/mahara/mahara/commit/b7c588549b6da9eca1632974ea0c5bc42b26451f Submitter: Robert Lyon ([email protected]) Branch: master
commit b7c588549b6da9eca1632974ea0c5bc42b26451f Author: Cecilia Vela Gurovic <[email protected]> Date: Thu Nov 1 14:01:13 2018 +1300 Bug 1800961: php foreach should only be used on arrays trying to use any other type of variable will throw an exception. Also, block types and view types should not be nested in the template behatnotneeded Change-Id: I1ea1e3fc9e7ba7734e1b5712467678c001806e65 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1800961 Title: reports page displays error message with an empty DB Status in Mahara: Fix Committed Status in Mahara 18.10 series: Fix Committed Status in Mahara 19.04 series: Fix Committed Bug description: To replicate: Install a new site in a clean database go to Admin menu-> Reports as the database is new, there is no data for the statistics and the following error is displayed [WAR] 9b (lib/statistics.php:209) Invalid argument supplied for foreach() To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1800961/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

