From: vincent@cubedesigners.com Date: Mon, 7 Sep 2020 16:32:30 +0000 (+0000) Subject: wip #3869 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9f38c269fa376aa4adb693859c1f17b3c4ba3aed;p=cubeextranet.git wip #3869 @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 6d6e72218..dda610aff 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -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'];