1
0
Fork 0

Fix Exception in Request

Fix the exception "Invalid argument supplied for foreach()" when the
install command is launched multiple times.
pull/77/head
Benjamin Grandfond 2011-10-30 23:53:44 +01:00
parent 72f69e6109
commit 72bfe8b92c
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class Request
public function __construct(Pool $pool) public function __construct(Pool $pool)
{ {
$this->pool = $pool; $this->pool = $pool;
$this->jobs = array();
} }
public function install($packageName, LinkConstraintInterface $constraint = null) public function install($packageName, LinkConstraintInterface $constraint = null)