}
// apply changes to tickets
+ $T = false;
foreach ($tickets as $tkt => $act) {
// removed all the code that handles hashed ticked ids...
-
+ //DB_DataObject::DebugLevel(1);
$T = DB_DataObject::Factory('mtrack_ticket');
-
+ $T->project_id = $this->repo->id;
if (!$T->get($tkt)) {
continue;
}
+ break;
$T_by_tid[$T->id] = $T;
}
+
+ if (!$T) {
+ continue;
+ }
/*
$accounted = false;