Skip to content

Commit 53009ab

Browse files
authored
Merge pull request #104 from Frankisgek/master
Events getTargetsCollection should use ids
2 parents 3a5b50f + 0560cac commit 53009ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Events/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ public function getRelationType()
5757

5858
public function getTargetsCollection()
5959
{
60-
return \forward_static_call([$this->targets->classname, 'find'], (array) $this->targets);
60+
return \forward_static_call([$this->targets->classname, 'find'], (array) $this->targets->ids);
6161
}
6262
}

0 commit comments

Comments
 (0)