Skip to content

Commit

Permalink
Filter also when no user
Browse files Browse the repository at this point in the history
  • Loading branch information
alromh87 committed Sep 24, 2020
1 parent 4e2b8d1 commit c9b516c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Helpers/AuditLogHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function getCollectionOfAuditForSettings($logs): Collection
$description = trans('logs.settings_log_'.$log->action.'_with_name', ['name' => htmlentities($log->object->{'contact_name'}, ENT_QUOTES, 'utf-8')]);
}
} else {
$description = trans('logs.settings_log_'.$log->action, ['name' => $log->object->{'name'}]);
$description = trans('logs.settings_log_'.$log->action, ['name' => htmlentities($log->object->{'name'}, ENT_QUOTES, 'utf-8')]);
}
$logsCollection->push([
'author_name' => ($log->author) ? $log->author->name : $log->author_name,
Expand Down

0 comments on commit c9b516c

Please sign in to comment.