]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 27 Oct 2014 15:20:22 +0000 (15:20 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 27 Oct 2014 15:20:22 +0000 (15:20 +0000)
inc/ws/Util/class.ws.exporter.php
inc/ws/Util/html5/app/class.ws.html5.app.compiler.php

index 7ce34b3dbff5059d5574385d0b1728723ff2e105..4e4abbbf1acdaa1845b72a1a95db71c3d7df8975 100644 (file)
@@ -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);
index 2f75d4a754f46fbb57e268d021274eb0ddab8958..cb3f8a2bf8e26fcf1094f88502826a560225ddc2 100644 (file)
@@ -13,7 +13,6 @@ class wsHTML5AppCompiler {
        public $books = array();
 
        public function __construct($collectionId) {
-
                global $core;
 
                $this->collectionId = $collectionId;