From: vincent@cubedesigners.com Date: Mon, 27 Oct 2014 15:20:22 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d58a71e0696f5dbcf69cb85e8c0f2ac875c28baa;p=cubeextranet.git --- 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;