Rafraichissement sans message

This commit is contained in:
fredtempez 2021-11-22 09:48:54 +01:00
parent 9dd0b1aad9
commit 39cc4fbba5
1 changed files with 8 additions and 7 deletions

View File

@ -654,7 +654,7 @@ class theme extends common {
$data = $this->import(self::FILE_DIR.'source/' . $zipFilename); $data = $this->import(self::FILE_DIR.'source/' . $zipFilename);
if ($data['success']) { if ($data['success']) {
header("Refresh:0"); header("Refresh:0");
} } else {
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([
'notification' => $data['notification'], 'notification' => $data['notification'],
@ -663,6 +663,7 @@ class theme extends common {
'view' => 'manage' 'view' => 'manage'
]);; ]);;
} }
}
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([
'title' => 'Gestion des thèmes', 'title' => 'Gestion des thèmes',