From 36eeaf9967f703844cfabe47696d60c0a3d2bf43 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 17 Nov 2011 12:03:17 +0800 Subject: [PATCH] MTrack/CommitChecker.php --- MTrack/CommitChecker.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MTrack/CommitChecker.php b/MTrack/CommitChecker.php index 7340630c..cdeb6cea 100644 --- a/MTrack/CommitChecker.php +++ b/MTrack/CommitChecker.php @@ -264,6 +264,7 @@ class MTrack_CommitChecker { } // apply changes to tickets + $T = false; foreach ($tickets as $tkt => $act) { // removed all the code that handles hashed ticked ids... @@ -272,9 +273,14 @@ class MTrack_CommitChecker { if (!$T->get($tkt)) { continue; } + break; $T_by_tid[$T->id] = $T; } + + if (!$T) { + continue; + } /* $accounted = false; -- 2.39.2