Skip to content

Commit

Permalink
Fixed usage of filelist if used as reference. (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
siad007 authored and mrook committed Oct 19, 2017
1 parent e30fb18 commit a66c1a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/phing/tasks/system/PathConvert.php
Expand Up @@ -221,6 +221,10 @@ public function main()
$ds = $obj;

$this->path->addDirset($ds);
} elseif ($obj instanceof FileList) {
$fl = $obj;

$this->path->addFilelist($fl);
} else {
throw new BuildException("'refid' does not refer to a "
. "path, fileset, dirset, or "
Expand Down

0 comments on commit a66c1a6

Please sign in to comment.