From: Steve Sutton Date: Thu, 24 Sep 2015 17:09:37 +0000 (-0400) Subject: Add member name to pdf X-Git-Tag: v0.0.4^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=eba75954c80d56d4c95f56383c6e372ffcc1c440;p=WP-Plugins%2Fglm-coupons.git Add member name to pdf --- diff --git a/views/front/couponPrint.php b/views/front/couponPrint.php index 65573bf..ba3d999 100644 --- a/views/front/couponPrint.php +++ b/views/front/couponPrint.php @@ -66,6 +66,7 @@ foreach ($coupons as $coupon) { $val = array(); $val['header'] = iconv('UTF-8', 'ISO-8859-1//IGNORE', $coupon->post_title); $val['description'] = iconv('UTF-8', 'ISO-8859-1//IGNORE', $coupon->post_content); + $header = ($coupon->glm_coupons_member) ? "" . iconv('UTF-8', 'ISO-8859-1//IGNORE', $coupon->glm_coupons_member) . "\n" : ''; $header .= "".$val['header']."\n"; $descr = preg_replace( "/
|
/i",