1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00

Minor, fix Diffusion home for untracked repositories.

This commit is contained in:
epriestley 2012-04-03 13:54:01 -07:00
parent 5885764728
commit 9fc54f4dfb

View file

@ -63,7 +63,7 @@ final class DiffusionHomeController extends DiffusionController {
$repositories = $repository->loadAll(); $repositories = $repository->loadAll();
foreach ($repositories as $key => $repo) { foreach ($repositories as $key => $repo) {
if (!$repo->isTracked()) { if (!$repo->isTracked()) {
unset($repo[$key]); unset($repositories[$key]);
} }
} }