mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-15 03:38:40 +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) {
|
foreach ($this->attributes as $attribute) {
|
||||||
if ($attribute->type->name === $attrName) {
|
if ($attribute->type->name === $attrName) {
|
||||||
return $attribute->value;
|
return $attribute;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user