From 3d39667def27c33d0a5471ff2c97d75b6b9bd473 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 3 Jun 2019 16:20:59 +0200 Subject: [PATCH] #2810 --- src/app/Magic/Models/CubistMagicAbstractModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Magic/Models/CubistMagicAbstractModel.php b/src/app/Magic/Models/CubistMagicAbstractModel.php index 57a0c47..a24e9d6 100644 --- a/src/app/Magic/Models/CubistMagicAbstractModel.php +++ b/src/app/Magic/Models/CubistMagicAbstractModel.php @@ -274,7 +274,7 @@ class CubistMagicAbstractModel extends Model { foreach ($this->_relationships as $relationship) { /** @var $relationship Field */ - if ($method == $relationship->getAttrbute('name')) { + if ($method == $relationship->getAttribute('name')) { return $this->relationship($relationship); } } -- 2.39.5