From: Anthony Talarico Date: Tue, 25 Jul 2017 18:35:37 +0000 (-0400) Subject: initializing old_event_status variable in the model to avoid notices X-Git-Tag: v1.6.54^2~4^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=3e466d5f6b9b241366f6e797bfa8e22bdba2d9af;p=WP-Plugins%2Fglm-member-db-events.git 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 --- 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';