diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-03 09:14:20 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-03 09:14:20 +0200 |
commit | 18edd0852b02a2027f24e6644e81bf111371c26f (patch) | |
tree | f8f193247b3f030819df41a6656b7640b435fc1a | |
parent | dbdcf4c486fb526861d040ed482d2dc4cdb06969 (diff) | |
download | gigologadmin-18edd0852b02a2027f24e6644e81bf111371c26f.tar.gz gigologadmin-18edd0852b02a2027f24e6644e81bf111371c26f.tar.bz2 gigologadmin-18edd0852b02a2027f24e6644e81bf111371c26f.zip |
Allow empty concerts to be created.
-rw-r--r-- | includes/concert.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/concert.php b/includes/concert.php index f2f5535..26722ed 100644 --- a/includes/concert.php +++ b/includes/concert.php @@ -13,12 +13,12 @@ if ( !class_exists('GiglogAdmin_Concert') ) { class GiglogAdmin_Concert { private ?int $id; - private string $cname; + private ?string $cname; private ?GiglogAdmin_Venue $venue; - private string $cdate; - private string $tickets; - private string $eventlink; - private int $status; + private ?string $cdate; + private ?string $tickets; + private ?string $eventlink; + private ?int $status; private array $roles; public const STATUS_NONE = 1; |