1
0
Fork 0

Fix package id

pull/1168/head
Jordi Boggiano 2012-10-13 13:01:35 +02:00
parent 18492a1f84
commit 9369f48dcd
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class Pool
$candidates[] = $candidate;
if ($candidate->getId() < 1) {
$candidate->setId($this->id++);
$this->packages[$candidate->getId()] = $candidate;
$this->packages[$this->id - 2] = $candidate;
}
}
}