Fixed redeclare for SmaryBC class
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 26 Oct 2015 20:37:43 +0000 (16:37 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 26 Oct 2015 20:37:43 +0000 (16:37 -0400)
glm-member-db.php
lib/smartyTemplateSupport.php

index 26282d9..e069cf8 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.36
+ * Version: 1.0.37
  * 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.36
+ * @version 1.0.37
  */
 
 /*
@@ -33,7 +33,7 @@
  *  version when there's a change in the database!! Use the
  *  version nunmber of that release for the DB version.
  */
-define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.36');
+define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.37');
 define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.0.30');
 
 /*
index 5163c4b..1e5cd28 100644 (file)
@@ -54,9 +54,7 @@ class smartyTemplateSupport {
                /*
                 * Load and instatiate Smarty Templates
                 */
-//             require (GLM_MEMBERS_PLUGIN_PATH . '/lib/Smarty-3.1.21/libs/Smarty.class.php');
-//             $this->template = new Smarty ();
-               require (GLM_MEMBERS_PLUGIN_PATH . '/lib/Smarty-3.1.21/libs/SmartyBC.class.php');
+               require_once (GLM_MEMBERS_PLUGIN_PATH . '/lib/Smarty-3.1.21/libs/SmartyBC.class.php');
                $this->template = new SmartyBC ();
 
                /*