From b341d9fc7091a174a218c6c235b590f3dc8c40fa Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 23 Jan 2024 16:21:07 +0100 Subject: [PATCH] wip #6661 @0.25 --- app/Models/Traits/PublicationSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5