Notice: Undefined index: present
This commit is contained in:
parent
9d2f7578b9
commit
2ad7cbec82
@ -7,7 +7,9 @@ class InventoryItem extends Item
|
||||
public function __construct($row)
|
||||
{
|
||||
parent::__construct($row);
|
||||
$this->present = $row['present'];
|
||||
if (isset($row['present'])) {
|
||||
$this->present = $row['present'];
|
||||
}
|
||||
}
|
||||
|
||||
public function printInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user