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