summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-03 09:14:20 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-03 09:14:20 +0200
commit18edd0852b02a2027f24e6644e81bf111371c26f (patch)
treef8f193247b3f030819df41a6656b7640b435fc1a /includes
parentdbdcf4c486fb526861d040ed482d2dc4cdb06969 (diff)
downloadgigologadmin-18edd0852b02a2027f24e6644e81bf111371c26f.tar.gz
gigologadmin-18edd0852b02a2027f24e6644e81bf111371c26f.tar.bz2
gigologadmin-18edd0852b02a2027f24e6644e81bf111371c26f.zip
Allow empty concerts to be created.
Diffstat (limited to 'includes')
-rw-r--r--includes/concert.php10
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;