From: Steve Sutton Date: Thu, 24 Sep 2015 16:36:14 +0000 (-0400) Subject: Update member part X-Git-Tag: v0.0.2^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4dafc66de103421754214f04e4840438e2f56991;p=WP-Plugins%2Fglm-coupons.git Update member part Adding an empty option for the member select in admin side. Testing to make sure the member plugin can be turned off and coupons still function properly. --- diff --git a/models/coupon.php b/models/coupon.php index 849b0f7..db14ac5 100644 --- a/models/coupon.php +++ b/models/coupon.php @@ -216,6 +216,10 @@ class glm_coupons_coupon include $this->pluginDirName . 'views/admin/coupon_meta.php'; } + /** + * Grab the list of members. + * If they have the member plugin. + */ private function _getMemberList() { global $wpdb; diff --git a/views/admin/coupon_meta.php b/views/admin/coupon_meta.php index 998d586..aa2a23d 100644 --- a/views/admin/coupon_meta.php +++ b/views/admin/coupon_meta.php @@ -15,6 +15,7 @@