1
0
Fork 0
mirror of https://github.com/RaspbianFrance/raspisms.git synced 2025-05-16 04:56:27 +02:00

fix codestyle

This commit is contained in:
osaajani 2020-06-23 21:06:13 +02:00
parent 350dbb5b59
commit adef27f862
37 changed files with 556 additions and 488 deletions
controllers/publics

View file

@ -303,7 +303,7 @@ namespace controllers\publics;
return $this->redirect(\descartes\Router::url('Contact', 'list'));
}
$msg = ($result == 1 ? '1' : 'Pas de') . ' nouveau contact inséré.';
$msg = (1 === $result ? '1' : 'Pas de') . ' nouveau contact inséré.';
if ($result > 1)
{
$msg = $result . ' nouveaux contacts ont été insérés.';