From 86d20ea884613f6bcdac9b7775cec66df45232ca Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 18 Aug 2015 19:07:23 +0000 Subject: [PATCH] Fix missing styles --- etemplate/template.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/etemplate/template.php b/etemplate/template.php index 7c816e4207..d280f088de 100644 --- a/etemplate/template.php +++ b/etemplate/template.php @@ -44,7 +44,6 @@ function ajaxtoJSON($name) { return false; } - error_log("Filename: $filename"); $mtime = filemtime($filename); @@ -89,12 +88,10 @@ function ajaxtoJSON($name) function nodeToArray($xmlnode, &$jsnode = false) { - if(!$xmlnode) return; - if(!($xmlnode instanceof SimpleXMLElement) && trim($xmlnode)) { $jsnode['content'] = $xmlnode; - return ''; + return; } $nodename = $xmlnode->getName(); $node =& $jsnode ? $jsnode : array();