Skip to content

Commit f30631e

Browse files
committed
Fixed parens on target
1 parent f156ec5 commit f30631e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/ReportsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function getActivityReportDataTable()
374374
$activity_target = "";
375375
}
376376
} elseif ( $activity->target_type === "App\Models\User") {
377-
if($activity->target()) {
377+
if($activity->target) {
378378
$activity_target = '<a href="'.route('view/user', $activity->target_id).'">'.$activity->target->fullName().'</a>';
379379
} else {
380380
$activity_target = '';

0 commit comments

Comments
 (0)