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);