Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Commit

Permalink
Fix the viewer, too
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Oct 31, 2016
1 parent f424dc0 commit 86b33e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/AuditLogService.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function view($id)
// Set parsed values
$diff[$handle] = array(
'label' => $item['label'],
'changed' => ($item['value'] != $log['before'][$handle]['value']),
'changed' => !isset($log['before'][$handle]) || ($item['value'] != $log['before'][$handle]['value']),
'after' => $item['value'],
'before' => $log['before'][$handle]['value'],
);
Expand Down

0 comments on commit 86b33e7

Please sign in to comment.