Changeset 2942

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

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

Location:
branches/1.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/CHANGELOG

    r2932 r2942  
    11AGAVI CHANGELOG 
    22=============== 
     3 
     41.0.0 beta 4 (October ??, 2008) 
     5------------------------------- 
     6 
     7FIX: AgaviXmlConfigDomElement::hasChild() does not pass on $namespaceUri argument (#865) (David) 
     8 
    39 
    4101.0.0 beta 3 (September 21, 2008) 
  • 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?