Ticket #118: patch
| File patch, 1.1 KB (added by development@…, 5 years ago) |
|---|
-
classes/phing/UnknownElement.php
130 130 $realChild = $this->makeTask($child, $childWrapper, false); 131 131 $parent->addTask($realChild); 132 132 } else { 133 $realChild = $ih->createElement($this->project, $parent, $child->getTag()); 133 $project = is_null($this->project) ? $parent->project : $this->project; 134 $realChild = $ih->createElement($project, $parent, $child->getTag()); 134 135 } 135 136 136 137 $childWrapper->setProxy($realChild); … … 138 139 $realChild->setRuntimeConfigurableWrapper($childWrapper); 139 140 } 140 141 141 $child->handleChildren($realChild, $childWrapper); 142 if ($realChild instanceof ProjectComponent) { 143 $child->handleChildren($realChild, $childWrapper); 144 } 142 145 if ($realChild instanceof Task) { 143 146 $realChild->maybeConfigure(); 144 147 }
