Skip to content
This repository was archived by the owner on Jun 1, 2019. It is now read-only.

Commit a6074e6

Browse files
committed
Update ActivitylogSupervisor.php
1 parent 570e0d1 commit a6074e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spatie/Activitylog/ActivitylogSupervisor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function normalizeUserId($userId)
118118
*/
119119
protected function shouldLogCall($text, $userId)
120120
{
121-
$beforeHandler = $this->config('activitylog.beforeHandler');
121+
$beforeHandler = $this->config->get('activitylog.beforeHandler');
122122

123123
if (is_null($beforeHandler) || $beforeHandler == '') {
124124
return true;

0 commit comments

Comments
 (0)