Browse Source

Avoid warning/error when file does not exist.

pull/126/head
Adam Vessey 13 years ago committed by Adam Vessey
parent
commit
0d6c34e10f
  1. 3
      ObjectHelper.inc

3
ObjectHelper.inc

@ -2,7 +2,7 @@
/**
* @file
* @file
* Object Helper Class
*/
@ -407,6 +407,7 @@ class ObjectHelper {
}
if (($xsl_path = "$path/xsl/convertQDC.xsl") &&
(is_readable($xsl_path)) &&
($xsl = DOMDocument::load($xsl_path)) && //Fails loading XSLT -> FALSE
($ds = DOMDocument::loadXML($xmlstr))) {
$xslt_opts = array(

Loading…
Cancel
Save