mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-01-28 19:48:41 +00:00
fix login bugs
This commit is contained in:
parent
9bbebedc40
commit
06f1de97ac
|
|
@ -279,7 +279,7 @@ class Item implements \JsonSerializable
|
|||
{
|
||||
foreach ($this->attributes as $attribute) {
|
||||
if ($attribute->type->name === $attrName) {
|
||||
return $attribute->value;
|
||||
return $attribute;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user