Changeset 205
- Timestamp:
- 07/29/07 21:04:42 (1 year ago)
- Files:
-
- trunk/classes/phing/UnknownElement.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/phing/UnknownElement.php
r123 r205 131 131 $parent->addTask($realChild); 132 132 } else { 133 $realChild = $ih->createElement($this->project, $parent, $child->getTag()); 133 $project = $this->project === null ? $parent->project : $this->project; 134 $realChild = $ih->createElement($project, $parent, $child->getTag()); 134 135 } 135 136 … … 138 139 $realChild->setRuntimeConfigurableWrapper($childWrapper); 139 140 } 140 141 $child->handleChildren($realChild, $childWrapper); 141 142 if ($realChild instanceof ProjectComponent) { 143 $child->handleChildren($realChild, $childWrapper); 144 } 145 142 146 if ($realChild instanceof Task) { 143 147 $realChild->maybeConfigure();
