Fix package id
parent
18492a1f84
commit
9369f48dcd
|
@ -223,7 +223,7 @@ class Pool
|
||||||
$candidates[] = $candidate;
|
$candidates[] = $candidate;
|
||||||
if ($candidate->getId() < 1) {
|
if ($candidate->getId() < 1) {
|
||||||
$candidate->setId($this->id++);
|
$candidate->setId($this->id++);
|
||||||
$this->packages[$candidate->getId()] = $candidate;
|
$this->packages[$this->id - 2] = $candidate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue