ошибки Undefined
This commit is contained in:
@@ -155,4 +155,9 @@ class ItemsModel
|
||||
{
|
||||
return Db::getValue('select sum(2price) from items_users where inOdet > 0 and uid = ?', [$uid]);
|
||||
}
|
||||
|
||||
public static function getWearedItems(int $userId): array
|
||||
{
|
||||
return Db::getRows('select * from items_users where inOdet > 0 and uid = ?', [$userId]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user