Merge branch '10600' into 11000

This commit is contained in:
F Tempez 2021-04-06 17:44:25 +02:00
commit 33b4337d0b
1 changed files with 2 additions and 4 deletions

View File

@ -422,7 +422,6 @@ class config extends common {
public function advanced() {
// Soumission du formulaire
if($this->isPost()) {
$success = true;
// Basculement en mise à jour auto
// Remise à 0 du compteur
if ($this->getData(['config','autoUpdate']) === false &&
@ -534,11 +533,10 @@ class config extends common {
// Générer robots.txt et sitemap
$this->generateFiles();
// Valeurs en sortie
$notification = $notification . 'Modifications enregistrées';
$this->addOutput([
'redirect' => helper::baseUrl() . $this->getUrl(),
'notification' => $notification,
'state' => $success
'notification' => 'Modifications enregistrées',
'state' => true
]);
}
// Valeurs en sortie