Skip to content
Snippets Groups Projects
Commit 2830107f authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #420 from protich/issue/419

Add note poster on ticket's mass processing.
parents 8571595f 26f5a9e8
No related branches found
No related tags found
No related merge requests found
......@@ -341,7 +341,7 @@ if($_POST && !$errors):
foreach($_POST['tids'] as $k=>$v) {
if(($t=Ticket::lookup($v)) && $t->isClosed() && @$t->reopen()) {
$i++;
$t->logNote('Ticket Reopened', $note);
$t->logNote('Ticket Reopened', $note, $thisstaff);
}
}
......@@ -361,7 +361,7 @@ if($_POST && !$errors):
foreach($_POST['tids'] as $k=>$v) {
if(($t=Ticket::lookup($v)) && $t->isOpen() && @$t->close()) {
$i++;
$t->logNote('Ticket Closed', $note);
$t->logNote('Ticket Closed', $note, $thisstaff);
}
}
......@@ -380,7 +380,7 @@ if($_POST && !$errors):
foreach($_POST['tids'] as $k=>$v) {
if(($t=Ticket::lookup($v)) && !$t->isOverdue() && $t->markOverdue()) {
$i++;
$t->logNote('Ticket Marked Overdue', $note);
$t->logNote('Ticket Marked Overdue', $note, $thisstaff);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment