Fix missing styles

This commit is contained in:
Nathan Gray 2015-08-18 19:07:23 +00:00
parent 34825b0171
commit 86d20ea884

View File

@ -44,7 +44,6 @@ function ajaxtoJSON($name)
{ {
return false; return false;
} }
error_log("Filename: $filename");
$mtime = filemtime($filename); $mtime = filemtime($filename);
@ -89,12 +88,10 @@ function ajaxtoJSON($name)
function nodeToArray($xmlnode, &$jsnode = false) function nodeToArray($xmlnode, &$jsnode = false)
{ {
if(!$xmlnode) return;
if(!($xmlnode instanceof SimpleXMLElement) && trim($xmlnode)) if(!($xmlnode instanceof SimpleXMLElement) && trim($xmlnode))
{ {
$jsnode['content'] = $xmlnode; $jsnode['content'] = $xmlnode;
return ''; return;
} }
$nodename = $xmlnode->getName(); $nodename = $xmlnode->getName();
$node =& $jsnode ? $jsnode : array(); $node =& $jsnode ? $jsnode : array();