Skip to content

Commit 8854787

Browse files
author
Andreas Aagaard
committed
# Initial
1 parent e564d94 commit 8854787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Activity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function subject(): MorphTo
4141

4242
public function causer(): MorphTo
4343
{
44-
return $this->morphTo('causer', 'causerType', 'causerID', 'causerID');
44+
return $this->morphTo('causer', 'causerType', 'causerID', 'id');
4545
}
4646

4747
public function getExtraProperty(string $propertyName)

0 commit comments

Comments
 (0)