From 3e466d5f6b9b241366f6e797bfa8e22bdba2d9af Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 25 Jul 2017 14:35:37 -0400 Subject: [PATCH] initializing old_event_status variable in the model to avoid notices setting the old_event_status to false initially so that php doesn't throw any notices --- models/admin/events/list.php | 1 + 1 file changed, 1 insertion(+) diff --git a/models/admin/events/list.php b/models/admin/events/list.php index 7e6281b..c8e367f 100644 --- a/models/admin/events/list.php +++ b/models/admin/events/list.php @@ -142,6 +142,7 @@ class GlmMembersAdmin_events_list extends GlmDataEvents $limit = 20; // Set to the number of listings per page $namesList = false; $enable_members = $this->config['settings']['enable_members']; + $old_event_status = false; // Load Notifications from the helper classes include_once GLM_MEMBERS_EVENTS_PLUGIN_CLASS_PATH . '/helper/notification.php'; -- 2.17.1