projects
/
WP-Plugins
/
glm-coupons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4aaf8e
)
Add member name to pdf
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 24 Sep 2015 17:09:37 +0000
(13:09 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 24 Sep 2015 17:09:37 +0000
(13:09 -0400)
views/front/couponPrint.php
patch
|
blob
|
history
diff --git
a/views/front/couponPrint.php
b/views/front/couponPrint.php
index
65573bf
..
ba3d999
100644
(file)
--- 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) ? "<b>" . iconv('UTF-8', 'ISO-8859-1//IGNORE', $coupon->glm_coupons_member) . "</b>\n" : '';
$header .= "<b>".$val['header']."</b>\n";
$descr = preg_replace(
"/<br>|<br \/>/i",