]> _ Git - cubeextranet.git/commitdiff
wip #3869 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 7 Sep 2020 16:32:30 +0000 (16:32 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 7 Sep 2020 16:32:30 +0000 (16:32 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 6d6e722187230ef2663b9f4103577e8240e353eb..dda610aff85b45b89f7bde4926bd25131fcd58d1 100644 (file)
@@ -1615,13 +1615,14 @@ class wsHTML5Compiler
         $dbc = [];
         $p = $this->parseVariables($this->book->parametres->dynamicBackgroundColor);
         foreach ($p as $range => $color) {
+            $e = explode(',', $color);
             $pages = cubeArray::parseRange($range);
             foreach ($pages as $page) {
-                $dbc[$page] = $color;
+                $dbc[$page] = $e;
             }
         }
         $this->config->dynamicBackgroundColor = $dbc;
-        
+
         // Content locks
         uasort($this->content_lock, function ($a, $b) {
             return $a['page'] - $b['page'];