From ca05c9a26f8f00e41e28097e4a79b45c3721bb49 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 18 Apr 2015 18:07:36 +0200 Subject: [PATCH] Fix PHPCS --- htdocs/core/class/html.formmail.class.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index ce22996f786..213f0b23b48 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -836,15 +836,15 @@ class FormMail extends Form if ($resql) { $this->lines_model=array(); - while ($obj = $this->db->fetch_object($resql)) { - $line = new ModelMailLine(); + while ($obj = $this->db->fetch_object($resql)) + { + $line = new ModelMail(); $line->id=$obj->rowid; $line->label=$obj->label; $line->topic=$obj->topic; $line->content=$obj->lacontentbel; $line->lang=$obj->lang; $this->lines_model[]=$line; - } $this->db->free($resql); return $num; @@ -857,7 +857,10 @@ class FormMail extends Form } } -class ModelMailLine +/** + * ModelMail + */ +class ModelMail { public $id; public $label;