From: Steve Sutton Date: Thu, 5 Jan 2017 21:52:47 +0000 (-0500) Subject: Spacing corrections X-Git-Tag: v1.0.1^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=743891b4b23771c60c3435e0d798b1841682d030;p=WP-Plugins%2Fglm-member-db-coupons.git Spacing corrections Correcting spacing of the = --- diff --git a/models/admin/management/coupons.php b/models/admin/management/coupons.php index 45f5bb4..9deb9d6 100644 --- a/models/admin/management/coupons.php +++ b/models/admin/management/coupons.php @@ -340,7 +340,7 @@ class GlmMembersAdmin_management_coupons extends GlmDataCouponsManagement $coupon_abstract = new GlmDataCoupons( $this->wpdb, $this->config ); require_once GLM_MEMBERS_PLUGIN_PATH.'/models/admin/ajax/imageUpload.php'; $ImageUpload = new GlmMembersAdmin_ajax_imageUpload($this->wpdb, $this->config); - $refType = $this->config['ref_type_numb']['Member']; + $refType = $this->config['ref_type_numb']['Member']; // get the coupons from the glm-coupon plugin // post type GLM_COUPON_POST_TYPE // GLM_COUPON_POST_TYPE must be defined @@ -385,7 +385,7 @@ class GlmMembersAdmin_management_coupons extends GlmDataCouponsManagement $coupon->glm_coupons_image = ''; } } - $post_categories = wp_get_object_terms( + $post_categories = wp_get_object_terms( $coupon->ID, GLM_COUPON_TAX_CATEGORIES, array('fields' => 'names')