From: Vincent Vanwaelscappel Date: Tue, 23 Jan 2024 15:21:07 +0000 (+0100) Subject: wip #6661 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b341d9fc7091a174a218c6c235b590f3dc8c40fa;p=fluidbook-toolbox.git wip #6661 @0.25 --- diff --git a/app/Models/Traits/PublicationSettings.php b/app/Models/Traits/PublicationSettings.php index 05acef16a..371223f6c 100644 --- a/app/Models/Traits/PublicationSettings.php +++ b/app/Models/Traits/PublicationSettings.php @@ -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()