From: vincent@cubedesigners.com Date: Wed, 8 Mar 2023 16:58:47 +0000 (+0000) Subject: wait #5793 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b4c0b24cdc4dc350d4eeff60260d2200d2cf561b;p=cubeextranet.git wait #5793 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index ec9fc9076..8d5113abf 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1497,7 +1497,11 @@ height="0" width="0" style="display:none;visibility:hidden"> if ($page == '' || $text == '') { continue; } - $this->audioDescriptionTextsList[$page] = ['text' => $text, 'voice' => $voice]; + $data=['text' => $text]; + if($voice){ + $data['voice']=$voice; + } + $this->audioDescriptionTextsList[$page] = $data; } } }