Fix minori

This commit is contained in:
Luca 2019-11-19 16:01:43 +01:00
parent 4cf4d8ece8
commit 73d238ccf2
2 changed files with 4 additions and 4 deletions

View File

@ -46,9 +46,9 @@ switch (post('op')) {
$check_email = Validate::isValidEmail(post('from_address'));
// Controllo sulla validazione
if (!empty($check_email['valid-format'])) {
if (empty($check_email)) {
flash()->info(tr('Sintassi email verificata'));
} else {
} else if (!$check_email['valid-format']) {
flash()->error(tr("Attenzione: l'indirizzo email _EMAIL_ sembra non essere valido", [
'_EMAIL_' => post('from_address'),
]));