From 73f1d10b728a7271e5f24dc8f6647763310876a8 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Wed, 11 Feb 2015 11:46:29 +0100 Subject: [PATCH] syntax --- htdocs/core/class/html.formmail.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index f67d111e453..2c7cc0be7fe 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -586,9 +586,9 @@ class FormMail if (count($arraydefaultmessage) > 0 && $arraydefaultmessage['content']) { $defaultmessage=$arraydefaultmessage['content']; $from_template=true; - + } elseif (! is_numeric($this->withbody)) { + $defaultmessage=$this->withbody; } - elseif (! is_numeric($this->withbody)) $defaultmessage=$this->withbody; // Complete substitution array if (! empty($conf->paypal->enabled) && ! empty($conf->global->PAYPAL_ADD_PAYMENT_URL))