FIX php8 compatibility
This commit is contained in:
parent
f98f0bbf6a
commit
4e51fca845
@ -393,7 +393,7 @@ function getOnlinePaymentUrl($mode, $type, $ref = '', $amount = '9.99', $freetag
|
|||||||
}
|
}
|
||||||
|
|
||||||
// For multicompany
|
// For multicompany
|
||||||
if (!empty($out) && !empty($conf->multicompany->enabled)) {
|
if (!empty($out) && isModEnabled('multicompany')) {
|
||||||
$out .= "&entity=".$conf->entity; // Check the entity because we may have the same reference in several entities
|
$out .= "&entity=".$conf->entity; // Check the entity because we may have the same reference in several entities
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user