$log .= " (on behalf of [user:$c->changeby]) ";
}
*/
+
$log .= $c->changelog;
+ if (!isset($deferred[$T->id])) {
+ $deferred[$T->id] = array(
+ 'comments' => array(),
+ 'changes' => array(),
+ 'act' => array(),
+
+ );
+ }
+
$deferred[$T->id]['comments'][] = $log;
+ $deferred[$T->id]['changes'][] = $c;
if (isset($act['spent']) && $c->changeby != $me) {
$spent_by_tid_by_user[$T->id][$c->changeby_id][] = $act['spent'];
unset($act['spent']);
}
- $deferred[$T->tid]['act'][] = $act;
+ $deferred[$T->id]['act'][] = $act;
//???
$this->checkVeto('postCommit', $log, $fqfiles, $actions);