Merge pull request #9779 from frederic34/patch-15

Update html.formmail.class.php
This commit is contained in:
Laurent Destailleur 2018-10-19 13:02:15 +02:00 committed by GitHub
commit 8af16609ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2015-2017 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2015-2017 Nicolas ZABOURI <info@inovea-conseil.com>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
*
* 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,7 +45,28 @@ class FormMail extends Form
public $fromname;
public $frommail;
public $replytoname;
/**
* @var string user, company, robot
*/
public $fromtype;
/**
* @var int ID
*/
public $fromid;
/**
* @var string thirdparty etc
*/
public $totype;
/**
* @var int ID
*/
public $toid;
public $replytoname;
public $replytomail;
public $toname;
public $tomail;
@ -91,11 +113,6 @@ class FormMail extends Form
public $withtouser=array();
public $withtoccuser=array();
/**
* @var string Error code (or message)
*/
public $error='';
public $lines_model;