From 06f1de97ac4ac7829ec1136f9676936e20593ea7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 31 Mar 2023 00:25:51 +0200 Subject: [PATCH] fix login bugs --- Models/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/Item.php b/Models/Item.php index 637ee61..81ecca3 100755 --- a/Models/Item.php +++ b/Models/Item.php @@ -279,7 +279,7 @@ class Item implements \JsonSerializable { foreach ($this->attributes as $attribute) { if ($attribute->type->name === $attrName) { - return $attribute->value; + return $attribute; } }