Skip to content

Commit

Permalink
Make sure we only update notes that have changed, so that the last-ch…
Browse files Browse the repository at this point in the history
…anged fields update appropriately.
  • Loading branch information
tbar0970 committed Dec 16, 2016
1 parent f297b4b commit 7e6eb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/abstract_view_notes_list.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function processView()
if ($this->_reassigning && !empty($_POST['reassignments_submitted'])) {
$dummy_note = new Abstract_Note();
foreach ($this->_notes as $id => $note) {
//$dummy_note->reset();
$dummy_note->reset();
$dummy_note->populate($id, $note);
$dummy_note->setValue('assignee', $_POST['note_'.$id.'_assignee']);
$dummy_note->save();
Expand Down

0 comments on commit 7e6eb50

Please sign in to comment.