From 61e067c9459e1e4d514bc2a72aa929875e7ddaaa Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Mon, 26 Oct 2015 16:37:43 -0400 Subject: [PATCH] Fixed redeclare for SmaryBC class --- glm-member-db.php | 6 +++--- lib/smartyTemplateSupport.php | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/glm-member-db.php b/glm-member-db.php index 26282d9e..e069cf8b 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.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 * @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'); /* diff --git a/lib/smartyTemplateSupport.php b/lib/smartyTemplateSupport.php index 5163c4be..1e5cd287 100644 --- a/lib/smartyTemplateSupport.php +++ b/lib/smartyTemplateSupport.php @@ -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 (); /* -- 2.17.1