diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 27a7d9d2..91b865ce 100755 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -655,8 +655,8 @@ class gallery extends common { // Valeurs en sortie $this->addOutput([ 'redirect' => helper::baseUrl() . $this->getUrl() . '/theme', - 'notification' => $success ? 'Modifications enregistrées' : 'Modifications non enregistées !', - 'state' => $success + 'notification' => $success !== FALSE ? 'Modifications enregistrées' : 'Modifications non enregistées !', + 'state' => $success !== FALSE ]); } // Valeurs en sortie diff --git a/module/gallery/ressource/defaultdata.php b/module/gallery/ressource/defaultdata.php index 7a66f120..ff71bbc3 100755 --- a/module/gallery/ressource/defaultdata.php +++ b/module/gallery/ressource/defaultdata.php @@ -7,7 +7,7 @@ class theme extends gallery { 'thumbMargin' => '.5em', 'thumbBorder' => '.1em', 'thumbOpacity' => '.7', - 'thumbBorderColor' => 'rgba(221, 221, 221, 1)', + 'thumbBorderColor' => 'rgba(221, 221, 221, 1)', 'thumbRadius' => '.3em', 'thumbShadows' => '1px 1px 10px', 'thumbShadowsColor'=> 'rgba(125, 125, 125, 1)',