Fix scrutinizer
This commit is contained in:
parent
4128cee3ee
commit
c477ca8266
@ -934,7 +934,7 @@ class FormMail extends Form
|
||||
$url=getOnlinePaymentUrl(0, $typeforonlinepayment, $this->substit['__REF__']);
|
||||
$paymenturl=$url;
|
||||
|
||||
$validpaymentmethod = getValidOnlinePaymentMethods($paymentmethod);
|
||||
$validpaymentmethod = getValidOnlinePaymentMethods('');
|
||||
}
|
||||
|
||||
if (count($validpaymentmethod) > 0 && $paymenturl)
|
||||
|
||||
@ -90,7 +90,7 @@ function payment_supplier_prepare_head(Paiement $object) {
|
||||
/**
|
||||
* Return array of valid payment mode
|
||||
*
|
||||
* @param string $paymentmethod Filter on this payment method
|
||||
* @param string $paymentmethod Filter on this payment method (''=none, 'paypal', ...)
|
||||
* @return array Array of valid payment method
|
||||
*/
|
||||
function getValidOnlinePaymentMethods($paymentmethod='')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user