Skip to content

Commit

Permalink
Enable frontend error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
P.Alex committed Feb 19, 2015
1 parent cc22735 commit 01c2ba7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions libraries/joomla/microdata/parser.php
Expand Up @@ -398,9 +398,6 @@ protected function getNodeSuffix(DOMElement $node)
*/
public function parse($html)
{
// Disable frontend error reporting
libxml_use_internal_errors(true);

// Create a new DOMDocument
$doc = new DOMDocument;
$doc->loadHTML($html);
Expand Down
2 changes: 1 addition & 1 deletion plugins/system/microdata/microdata.php
Expand Up @@ -56,4 +56,4 @@ public function onAfterRender()
// Set the body HTML
$app->setBody($parser->parse($output));
}
}
}

0 comments on commit 01c2ba7

Please sign in to comment.