From 18edd0852b02a2027f24e6644e81bf111371c26f Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 3 Sep 2021 09:14:20 +0200 Subject: Allow empty concerts to be created. --- includes/concert.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'includes') 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; -- cgit v1.2.3