Fix error on save.
This commit is contained in:
parent
97380b2bee
commit
fe61d14713
@ -17,7 +17,7 @@ use mysqli;
|
||||
|
||||
class ModelMySQL {
|
||||
|
||||
public int $id;
|
||||
public ?int $id = null;
|
||||
protected array $toNull = [];
|
||||
static protected string $primaryKey = 'id';
|
||||
static protected array $ignoreSave = ['id'];
|
||||
|
Loading…
Reference in New Issue
Block a user