From ac8837d01fb1f728f768045667ac47c4ed36d042 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Oct 2019 19:28:00 +0200 Subject: [PATCH] Fix url --- htdocs/core/lib/payments.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/payments.lib.php b/htdocs/core/lib/payments.lib.php index e78f777eb56..f2b701b371f 100644 --- a/htdocs/core/lib/payments.lib.php +++ b/htdocs/core/lib/payments.lib.php @@ -125,12 +125,12 @@ function getValidOnlinePaymentMethods($paymentmethod = '') */ function showOnlinePaymentUrl($type, $ref) { - global $conf, $langs; + global $langs; // Load translation files required by the page $langs->loadLangs(array('payment', 'paybox')); - $servicename=$langs->transnoentitiesnoconve('Online'):; + $servicename=$langs->transnoentitiesnoconv('Online'); $out = img_picto('', 'object_globe.png').' '.$langs->trans("ToOfferALinkForOnlinePayment", $servicename).'
'; $url = getOnlinePaymentUrl(0, $type, $ref);