From d58a71e0696f5dbcf69cb85e8c0f2ac875c28baa Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 27 Oct 2014 15:20:22 +0000 Subject: [PATCH] --- inc/ws/Util/class.ws.exporter.php | 2 +- inc/ws/Util/html5/app/class.ws.html5.app.compiler.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index 7ce34b3db..4e4abbbf1 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -124,7 +124,7 @@ class wsExporter { $add = explode("\n", $collection->settings['offline_syncs']); foreach ($add as $a) { $a = trim($a); - if ($a == '') { + if ($a == '' || substr($a, 0, 1) == '#') { continue; } list($to, $source) = explode(':', $a); diff --git a/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php b/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php index 2f75d4a75..cb3f8a2bf 100644 --- a/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php +++ b/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php @@ -13,7 +13,6 @@ class wsHTML5AppCompiler { public $books = array(); public function __construct($collectionId) { - global $core; $this->collectionId = $collectionId; -- 2.39.5