Commit 9f9ecb98 authored by metzlerd's avatar metzlerd
Browse files

Fixing mismatched entitity name.

parent 3b7b2140
......@@ -114,7 +114,7 @@ class FrxReport {
// Shortcut process a text node
if ($node_type == XML_TEXT_NODE
|| $node_type == XML_ENTITY_REF_NODE
|| $node_type == XML_ENDITY_NODE
|| $node_type == XML_ENTITY_NODE
) { $text = $dom_node->textContent;
$o .= $this->teng->replace($text, $this->cur_data);
return $o;
......@@ -128,7 +128,10 @@ class FrxReport {
// Continue processing non text nodes
$node = simplexml_import_dom($dom_node);
// Special catch to make sure we don't process bad nodes
if (!$node) return '';
if (!$node) {
return '';
}
$frx = $node->attributes(FRX_NS);
$elements = $dom_node->childNodes->length;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment