From 07df99bb92849c9b7412cb50c388145afe695540 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 3 Dec 2015 16:23:01 -0500 Subject: [PATCH] Fixed broken image upload --- controllers/admin.php | 5 ++--- glm-member-db.php | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/controllers/admin.php b/controllers/admin.php index f1872837..529e5c90 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -222,8 +222,7 @@ class glmMembersAdmin extends GlmPluginSupport } // Check for a valid action. This only looks in the main plugin. Might have to change this later. - if (!$this->config['addOns'][GLM_MEMBERS_PLUGIN_SLUG]['adminActions']['ajax'][$glmAction]) { - + if (!isset($this->config['addOns'][GLM_MEMBERS_PLUGIN_SLUG]['actions']['adminActions']['ajax'][$glmAction])) { // Menu item/Action not in valid actions array trigger_error ( 'ERROR: The specified action is not valid - '.$glmAction, E_USER_ERROR); } @@ -424,7 +423,7 @@ class glmMembersAdmin extends GlmPluginSupport * * This method is called by an add_action() hook setup in the contructor. * - * (no prameters) + * (no prameters)echo "
".print_r($this->config['addOns'][GLM_MEMBERS_PLUGIN_SLUG],1)."
";exit;
      *
      * @return void
      * @access public
diff --git a/glm-member-db.php b/glm-member-db.php
index 8e1cc48c..1d25db24 100644
--- a/glm-member-db.php
+++ b/glm-member-db.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.0.45
+ * Version: 1.0.46
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabase
  * @author Chuck Scott 
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.45
+ * @version 1.0.46
  */
 
 /*
@@ -34,7 +34,7 @@
  *  version number of that release for the DB version.
  */
 
-define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.45');
+define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.46');
 define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.0.43');
 
 /*
-- 
2.17.1