From dc522534d7a8135420ec634014ebd38ccb0be3b7 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 27 Feb 2017 15:27:50 -0500 Subject: [PATCH] Fix on update when member contact is editing. Need to call editEntry again to fix status. --- index.php | 6 +++--- models/admin/packaging/index.php | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 5cdbca4..634b02b 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database Packaging * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.2.8 + * Version: 1.2.9 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabasePackagingAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.2.8 + * @version 1.2.9 */ /* @@ -37,7 +37,7 @@ * so that we're sure the other add-ons see an up to date * version from this plugin. */ -define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.8'); +define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.9'); define('GLM_MEMBERS_PACKAGING_PLUGIN_DB_VERSION', '1.1.6'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/admin/packaging/index.php b/models/admin/packaging/index.php index 9df2804..8cb4806 100644 --- a/models/admin/packaging/index.php +++ b/models/admin/packaging/index.php @@ -225,6 +225,8 @@ class GlmMembersAdmin_packaging_index extends GlmDataPackages // Tell the template the package was updated $packageUpdated = true; + // Get the package prepared for editing + $packageInfo = $this->editEntry($packageID); // Otherwise it didn't update, tell the template and let them try again } else { -- 2.17.1