mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-19 21:10:49 +01:00
Fix minori
This commit is contained in:
parent
4cf4d8ece8
commit
73d238ccf2
@ -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'),
|
||||
]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user