|
@@ -2,6 +2,7 @@
|
|
|
/* Copyright (C) 2005-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
|
|
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
|
|
|
+ * Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
|
|
*
|
|
|
* 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
|
|
@@ -269,6 +270,7 @@ class FormMail
|
|
|
if ($this->withform == 1)
|
|
|
{
|
|
|
$out.= '<form method="POST" name="mailform" enctype="multipart/form-data" action="'.$this->param["returnurl"].'">'."\n";
|
|
|
+ $out.= '<input style="display:none" type="submit" id="sendmail" name="sendmail">';
|
|
|
$out.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'" />';
|
|
|
}
|
|
|
foreach ($this->param as $key=>$value)
|