From eba75954c80d56d4c95f56383c6e372ffcc1c440 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 24 Sep 2015 13:09:37 -0400 Subject: [PATCH] Add member name to pdf --- views/front/couponPrint.php | 1 + 1 file changed, 1 insertion(+) 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", -- 2.17.1