Fixed errant isarray (should be is_array) in admin controller.
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 8 Aug 2016 16:28:25 +0000 (12:28 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 8 Aug 2016 16:28:25 +0000 (12:28 -0400)
controllers/admin.php
index.php

index 018948d..69b04bf 100644 (file)
@@ -285,7 +285,7 @@ class glmMembersAdmin extends GlmPluginSupport
                 $results = $model->modelAction();
 
                 // If no results array were passed back (no need for template output), die here
-                if (!isarray($results)) {
+                if (!is_array($results)) {
                     wp_die();
                 }
 
index dfb5344..9d0118d 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 2.4.0
+ * Version: 2.4.1
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabase
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.4.0
+ * @version 2.4.1
  */
 
 /*
@@ -38,7 +38,7 @@
  *
  */
 
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.4.0');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.4.1');
 define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.13');
 
 // Check if plugin version is not current in WordPress option and if needed updated it