Skip to content

Commit

Permalink
Fix: erronous call to parent method from behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Mtangoo committed Oct 10, 2024
1 parent 0f80cba commit ce25a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Behaviors/GeometryBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function afterSave()
public function afterFind()
{
if (empty($this->owner->{$this->attribute})) {
return parent::afterFind();
return true;
}

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

0 comments on commit ce25a0e

Please sign in to comment.