diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index f9e5c111878..68da2dce777 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -4,6 +4,7 @@ * Copyright (C) 2010-2011 Juanjo Menent * Copyright (C) 2015-2017 Marcos García * Copyright (C) 2015-2017 Nicolas ZABOURI + * Copyright (C) 2018 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,15 +45,28 @@ class FormMail extends Form public $fromname; public $frommail; + /** * @var string user, company, robot */ public $fromtype; + /** * @var int ID */ public $fromid; - public $replytoname; + + /** + * @var string thirdparty etc + */ + public $totype; + + /** + * @var int ID + */ + public $toid; + + public $replytoname; public $replytomail; public $toname; public $tomail;