Gallery : modif theme notification + espace en trop

This commit is contained in:
Fred Tempez 2020-08-19 18:44:40 +02:00
parent 64641b2417
commit 6f3e81f7ce
2 changed files with 3 additions and 3 deletions

View File

@ -655,8 +655,8 @@ class gallery extends common {
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([
'redirect' => helper::baseUrl() . $this->getUrl() . '/theme', 'redirect' => helper::baseUrl() . $this->getUrl() . '/theme',
'notification' => $success ? 'Modifications enregistrées' : 'Modifications non enregistées !', 'notification' => $success !== FALSE ? 'Modifications enregistrées' : 'Modifications non enregistées !',
'state' => $success 'state' => $success !== FALSE
]); ]);
} }
// Valeurs en sortie // Valeurs en sortie