From cc887ceff35e6c0eaf25fac80eecb212ea6cacd7 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Sat, 18 Apr 2015 16:45:45 +0200 Subject: [PATCH] fix typo --- htdocs/core/class/html.formmail.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index ce22996f786..5e38dd10531 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -291,6 +291,7 @@ class FormMail extends Form foreach($this->lines_model as $line) { $modelmail_array[$line->id]=$line->label; } + var_dump($modelmail_array); if (count($modelmail_array>0)) { $out.= '
'."\n"; $out.= $langs->trans('SelectMailModel').':'.$this->selectarray('modelmailselected', $modelmail_array,$model_id); @@ -857,12 +858,11 @@ class FormMail extends Form } } -class ModelMailLine +class ModelMailLine { public $id; public $label; public $topic; public $content; public $lang; -} - +} \ No newline at end of file