From 9f38c269fa376aa4adb693859c1f17b3c4ba3aed Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 7 Sep 2020 16:32:30 +0000 Subject: [PATCH] wip #3869 @0.25 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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']; -- 2.39.5