From 9fc54f4dfb61f7338cb1cfe819bc72d2a3404264 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 3 Apr 2012 13:54:01 -0700 Subject: [PATCH] Minor, fix Diffusion home for untracked repositories. --- .../diffusion/controller/home/DiffusionHomeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/controller/home/DiffusionHomeController.php b/src/applications/diffusion/controller/home/DiffusionHomeController.php index 448c9f316e..f15e5b9856 100644 --- a/src/applications/diffusion/controller/home/DiffusionHomeController.php +++ b/src/applications/diffusion/controller/home/DiffusionHomeController.php @@ -63,7 +63,7 @@ final class DiffusionHomeController extends DiffusionController { $repositories = $repository->loadAll(); foreach ($repositories as $key => $repo) { if (!$repo->isTracked()) { - unset($repo[$key]); + unset($repositories[$key]); } }