From 7804c1becd2fe9c495b3f087217209c9322a51d5 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 17 Nov 2017 14:28:04 +0000 Subject: [PATCH] fix #1798 @2 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ace9c99ca..bdf3e605a 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1101,7 +1101,6 @@ class wsHTML5Compiler { $this->maxRes = 150; } } - $this->vdir->copy(WS_DOCS . '/' . $infos['document_id'] . '/p' . $infos['document_page'] . '.jpg', 'data/thumbnails/p' . $page . '.jpg'); } $thumb = false; @@ -1113,6 +1112,7 @@ class wsHTML5Compiler { } $thumbs[$page] = $thumb; + $this->vdir->copy($thumb, 'data/thumbnails/p' . $page . '.jpg'); if ($page == 1) { $this->_makeCover($docdir . 'html/t36-' . $infos['document_page'] . '.jpg'); -- 2.39.5