Reviewed: https://reviews.mahara.org/9282 Committed: https://git.mahara.org/mahara/mahara/commit/8053afeb2289ff1c88b95dc52361f4e4379f0fc1 Submitter: Robert Lyon (<email address hidden>) Branch: 18.10_STABLE
commit 8053afeb2289ff1c88b95dc52361f4e4379f0fc1 Author: Cecilia Vela Gurovic <email address hidden> 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 (cherry picked from commit b7c588549b6da9eca1632974ea0c5bc42b26451f)
Reviewed: https:/ /reviews. mahara. org/9282 /git.mahara. org/mahara/ mahara/ commit/ 8053afeb2289ff1 c88b95dc52361f4 e4379f0fc1
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.10_STABLE
commit 8053afeb2289ff1 c88b95dc52361f4 e4379f0fc1
Author: Cecilia Vela Gurovic <email address hidden>
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: I1ea1e3fc9e7ba7 734e1b571246767 8c001806e65 ca1632974ea0c5b c42b26451f)
(cherry picked from commit b7c588549b6da9e