From 76ddfd52a435b3db2e2cae61e47f18ee06761b32 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 7 Mar 2017 17:25:28 +0000 Subject: [PATCH] done #1193 @2.5 --- inc/ws/Util/html5/class.ws.html5.compiler.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index cbbe9bfea..6ff24d0ff 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -982,6 +982,9 @@ class wsHTML5Compiler { foreach ($objPHPExcel->getWorksheetIterator() as $worksheet) { + if ($worksheet->getSheetState() != PHPExcel_Worksheet::SHEETSTATE_VISIBLE) { + continue; + } $title = $worksheet->getTitle(); if (strlen($title) == 2 && cubeCountry::getCountry($title)) { $title = cubeCountry::getCountry($title); -- 2.39.5