syntax
This commit is contained in:
parent
7f5e4aa135
commit
73f1d10b72
@ -586,9 +586,9 @@ class FormMail
|
|||||||
if (count($arraydefaultmessage) > 0 && $arraydefaultmessage['content']) {
|
if (count($arraydefaultmessage) > 0 && $arraydefaultmessage['content']) {
|
||||||
$defaultmessage=$arraydefaultmessage['content'];
|
$defaultmessage=$arraydefaultmessage['content'];
|
||||||
$from_template=true;
|
$from_template=true;
|
||||||
|
} elseif (! is_numeric($this->withbody)) {
|
||||||
|
$defaultmessage=$this->withbody;
|
||||||
}
|
}
|
||||||
elseif (! is_numeric($this->withbody)) $defaultmessage=$this->withbody;
|
|
||||||
|
|
||||||
// Complete substitution array
|
// Complete substitution array
|
||||||
if (! empty($conf->paypal->enabled) && ! empty($conf->global->PAYPAL_ADD_PAYMENT_URL))
|
if (! empty($conf->paypal->enabled) && ! empty($conf->global->PAYPAL_ADD_PAYMENT_URL))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user