Fix error on save.

This commit is contained in:
kj 2022-03-28 21:55:29 -04:00
parent 97380b2bee
commit fe61d14713

View File

@ -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'];