Form 4.6
This commit is contained in:
parent
f2df3743c6
commit
2e9cfaa991
@ -1,3 +1,5 @@
|
||||
# Version 4.6
|
||||
- Correction de syntaxe.
|
||||
# Version 4.5
|
||||
- Remplacement du nom générique de classe dans les vues.
|
||||
# Version 4.4
|
||||
|
@ -1 +1 @@
|
||||
{"name":"form","realName":"Formulaire","version":"4.1","update":"0.0","delete":true,"dataDirectory":""}
|
||||
{"name":"form","realName":"Formulaire","version":"4.6","update":"0.0","delete":true,"dataDirectory":""}
|
@ -17,7 +17,7 @@
|
||||
class form extends common
|
||||
{
|
||||
|
||||
const VERSION = '4.5';
|
||||
const VERSION = '4.6';
|
||||
const REALNAME = 'Formulaire';
|
||||
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||
|
||||
@ -479,7 +479,7 @@ class form extends common
|
||||
if (!empty($singlemail)) {
|
||||
$to[] = $singlemail;
|
||||
}
|
||||
if ($to) {
|
||||
if (is_array($to)) {
|
||||
// Sujet du mail
|
||||
$subject = $this->getData(['module', $this->getUrl(0), 'config', 'subject']);
|
||||
if ($subject === '') {
|
||||
@ -495,6 +495,7 @@ class form extends common
|
||||
$this->getData(['config', 'smtp', 'from'])
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
// Redirection
|
||||
$redirect = $this->getData(['module', $this->getUrl(0), 'config', 'pageId']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user