improve msg
This commit is contained in:
parent
cc1a85f030
commit
53d462263c
|
@ -303,7 +303,7 @@ namespace controllers\publics;
|
||||||
return $this->redirect(\descartes\Router::url('Contact', 'list'));
|
return $this->redirect(\descartes\Router::url('Contact', 'list'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$msg = $result . ' nouveau contact a été inséré.';
|
$msg = ($result == 1 ? '1' : 'Pas de') . ' nouveau contact inséré.';
|
||||||
if ($result > 1)
|
if ($result > 1)
|
||||||
{
|
{
|
||||||
$msg = $result . ' nouveaux contacts ont été insérés.';
|
$msg = $result . ' nouveaux contacts ont été insérés.';
|
||||||
|
|
Loading…
Reference in New Issue