Modify ↓
Ticket #183 (closed defect: fixed)
Undefined variable in PhingTask.php
| Reported by: | Oz Solomon | Owned by: | hans |
|---|---|---|---|
| Priority: | low | Milestone: | 2.3.1 |
| Component: | phing-core | Version: | 2.3.0 |
| Keywords: | Cc: |
Description
Line 162 of PhingTask.php is
$buildFailed = false;
That line needs to move to the beginning of the processFile() function (line 201).
As it currently stands, when you reach this line at the end of processFile()
if ($this->haltOnFailure && $buildFailed) {
If there was no exception, then $buildFailed is undefined.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Wow .. thank you again, yes. This is fixed in r303 (and r304, trunk).
P.S. Do you want an SVN account to help fix these issues as you find them? Please send a note to the dev list if you would like an account.