diff --git a/bmlt-meeting-list.php b/bmlt-meeting-list.php index 28d33eb..c84b85b 100644 --- a/bmlt-meeting-list.php +++ b/bmlt-meeting-list.php @@ -1026,7 +1026,7 @@ function bmlt_meeting_list($atts = null, $content = null) $result = json_decode(wp_remote_retrieve_body($results), true); if (!empty($this->options['extra_meetings'])) { $extras = ""; - foreach ($this->options['extra_meetings'] as $value) { + foreach ((array)$this->options['extra_meetings'] as $value) { $data = array(" [", "]"); $value = str_replace($data, "", $value); $extras .= "&meeting_ids[]=".$value;