Skip to content

Commit ce25a0e

Browse files
author
Stefano Mtangoo
committed
Fix: erronous call to parent method from behavior
1 parent 0f80cba commit ce25a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Behaviors/GeometryBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function afterSave()
150150
public function afterFind()
151151
{
152152
if (empty($this->owner->{$this->attribute})) {
153-
return parent::afterFind();
153+
return true;
154154
}
155155

156156
if (!is_object(json_decode($this->owner->{$this->attribute}))) {

0 commit comments

Comments
 (0)