From 25793ecc31330758d245ac9287845e6899528b78 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 12 Feb 2019 13:25:38 -0500 Subject: [PATCH] Update for php error fix foreach update --- models/admin/events/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/admin/events/list.php b/models/admin/events/list.php index b153f8d..8521691 100644 --- a/models/admin/events/list.php +++ b/models/admin/events/list.php @@ -501,7 +501,7 @@ class GlmMembersAdmin_events_list extends GlmDataEvents if (isset($_REQUEST['locID'])) { // For each location - foreach ( $_REQUEST['locID'] $id => $locID ) { + foreach ( $_REQUEST['locID'] as $id => $locID ) { // Check for new cities in this location and if so use the new city real ID if (isset($_REQUEST[$ocID.'_city']) && $_REQUEST[$locID.'_city'][0] == 'n') { @@ -708,7 +708,7 @@ class GlmMembersAdmin_events_list extends GlmDataEvents // Add "selected" element default false; reset($categories); - foreach ( $categories $k => $v ) { + foreach ( $categories as $k => $v ) { $categories[$k]['selected'] = false; } -- 2.17.1