mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-07 07:06:26 +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'));
|
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…
Add table
Add a link
Reference in a new issue