]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6661 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 23 Jan 2024 15:21:07 +0000 (16:21 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 23 Jan 2024 15:21:07 +0000 (16:21 +0100)
app/Models/Traits/PublicationSettings.php

index 05acef16a20c7b1668f379d0dff36cec48e26e80..371223f6c5a84534a8ce17187e132421f3574d54 100644 (file)
@@ -933,7 +933,7 @@ trait PublicationSettings
         $this->addSettingField('soundVolume', Percent::class, $this->__('Volume des effets sonores'), ['default' => 100, 'when' => ['soundTheme' => ['operator' => '!=', 'value' => 'none']]]);
         $this->addSettingField('sep_ambientSound', FormSeparator::class);
         $this->addSettingField('ambientSound', FilesOrURL::class, $this->__('Ambiance sonore'));
-        $this->addSettingField('ambientSoundVolume', Percent::class, $this->__('Volume de l\'ambiance sonore'), ['default' => 50, 'when' => ['ambientSound' => ['operator' => ['operator' => 'not_empty']]]]);
+        $this->addSettingField('ambientSoundVolume', Percent::class, $this->__('Volume de l\'ambiance sonore'), ['default' => 50, 'when' => ['ambientSound' => ['operator' =>'not_empty']]]);
     }
 
     protected function _downloadpdf()