Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Need to modify..

zen.ishtar
2006-11-13
2013-04-22
  • zen.ishtar
    zen.ishtar
    2006-11-13

    328 array_merge($elms, $child->getElementsByTagName($tagName));

    to be

    328 $elms = (is_array($child->getElementsByTagName($tagName))) ? a    rray_merge($elms, $child->getElementsByTagName($tagName)) : $elms;

    610 $elms = array_merge($elms, $child->getElementsByTagName($tagName));

    to be

    610 if(is_array($elms) && is_array($child->getElementsByTagName($tagName))    )
    611                                 $elms = array_merge($elms, $child->getElementsByTagName($tagName));