merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 20052ab2b6804cd2fefcf3a8acf4fdcb6afa8646
parent 71bcb3db6d7bf5ddc80c9f011a80062273528988
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon,  1 Feb 2016 14:16:23 +0100

show news correctly

Diffstat:
Msrc/frontend/fulfillment.php | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/frontend/fulfillment.php b/src/frontend/fulfillment.php @@ -102,8 +102,10 @@ switch ($receiver) } $msg = "<p>Thanks for donating to " . $receiver . ".</p>"; -if (false != $link) - $msg .= "<p>Check our latest <a href=\"" . $link . "\">news!</a></p>"; +if ($news) +{ + $msg .= "<p>Check our latest <a href=\"" . $news . "\">news!</a></p>"; +} echo $msg;