From: Alan Knowles Date: Thu, 17 Nov 2011 04:03:17 +0000 (+0800) Subject: MTrack/CommitChecker.php X-Git-Url: http://git.roojs.org/?p=web.mtrack;a=commitdiff_plain;h=36eeaf9967f703844cfabe47696d60c0a3d2bf43 MTrack/CommitChecker.php --- 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;