mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Fix more PHP warnings and notices
This commit is contained in:
@@ -74,7 +74,7 @@ class Items
|
||||
|
||||
public static function get($id) {
|
||||
self::load();
|
||||
return self::$items[$id];
|
||||
return isset(self::$items[$id]) ? self::$items[$id] : [];
|
||||
}
|
||||
|
||||
public static function getDescription($id, $count = 1) {
|
||||
|
Reference in New Issue
Block a user