mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
improve msg
This commit is contained in:
parent
cc1a85f030
commit
53d462263c
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ namespace controllers\publics;
|
|||
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)
|
||||
{
|
||||
$msg = $result . ' nouveaux contacts ont été insérés.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue