Fixed broken image upload
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 3 Dec 2015 21:23:01 +0000 (16:23 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 3 Dec 2015 21:23:01 +0000 (16:23 -0500)
controllers/admin.php
glm-member-db.php

index f187283..529e5c9 100644 (file)
@@ -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 "<pre>".print_r($this->config['addOns'][GLM_MEMBERS_PLUGIN_SLUG],1)."<pre>";exit;
      *
      * @return void
      * @access public
index 8e1cc48..1d25db2 100644 (file)
@@ -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 <cscott@gaslightmedia.com>
  * @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');
 
 /*