From: vincent@cubedesigners.com Date: Mon, 1 Mar 2021 09:58:27 +0000 (+0000) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=77b77645e5b26c77951d9e435e95403eab08bc2f;p=cubeextranet.git . --- diff --git a/inc/ws/Controlleur/class.ws.flash.php b/inc/ws/Controlleur/class.ws.flash.php index 5713948e4..583ffbbd2 100644 --- a/inc/ws/Controlleur/class.ws.flash.php +++ b/inc/ws/Controlleur/class.ws.flash.php @@ -621,7 +621,7 @@ class wsFlash extends cubeFlashGateway $types = array(1, 2, 3, 4, 5, 6, 7, 11, 13, 14, 15, 16, 17, 18, 19, 24, 25); if (wsDroits::revendeur()) { - $types = array(1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24, 25, 31, 33, 36, 40); + $types = array(1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24, 25,26, 31, 33, 36, 40); } if (wsDroits::admin()) { $types = range(1, 100); 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 2dc74dbc8..dc1518e72 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -289,7 +289,7 @@ class wsHTML5Compiler $daoDoc = new wsDAODocument($core->con); $firstDoc = $daoDoc->selectById($this->pages[1]['document_id']); $firstDoc->checkInfos(); - $size = $firstDoc->generalInfos['size']; + $size = $firstDoc->generalInfos['page'][$this->pages[1]['document_page']]['size']; $this->log('Got data from database');