diff options
Diffstat (limited to 'codebase/data_connector.php')
-rw-r--r-- | codebase/data_connector.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codebase/data_connector.php b/codebase/data_connector.php index 2a4e0a3..e4e5e08 100644 --- a/codebase/data_connector.php +++ b/codebase/data_connector.php @@ -266,7 +266,7 @@ class JSONCommonDataItem extends DataItem{ /*! return self as XML string */ function to_xml(){ - if ($this->skip) return ""; + if ($this->skip) return false; $data = array( 'id' => $this->get_id() @@ -437,7 +437,7 @@ class JSONTreeCommonDataItem extends TreeCommonDataItem{ /*! return self as XML string */ function to_xml_start(){ - if ($this->skip) return ""; + if ($this->skip) return false; $data = array( "id" => $this->get_id() ); for ($i=0; $i<sizeof($this->config->text); $i++){ |