Show
Ignore:
Timestamp:
09/24/08 15:45:36 (4 months ago)
Author:
david
Message:

Fixed #865: AgaviXmlConfigDomElement::hasChild() does not pass on $namespaceUri argument

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/src/config/util/dom/AgaviXmlConfigDomElement.class.php

    r2880 r2942  
    161161   * 
    162162   * @author     Noah Fontes <noah.fontes@bitextender.com> 
     163   * @author     David Zülke <david.zuelke@bitextender.com> 
    163164   * @since      1.0.0 
    164165   */ 
     
    166167  { 
    167168    // if namespace uri is null, use default ns. if empty string, use no ns 
    168     return $this->countChildren($name) === 1; 
     169    return $this->countChildren($name, $namespaceUri) === 1; 
    169170     
    170171    // XXX: not necessary for single elements?