diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-14 17:47:26 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-14 17:47:26 +0100 |
commit | fe58e4f4220d6685b91bf516374e33936e1075e3 (patch) | |
tree | 6d2e3416a8148ef8070931c7a8bc1a50b7637bb2 /includes/pages/guest_login.php | |
parent | 0e8cc2f0a73085170df45c6a40e8f3df06a6af51 (diff) |
database: updated checks for selectOne
Diffstat (limited to 'includes/pages/guest_login.php')
-rw-r--r-- | includes/pages/guest_login.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index bed42ee5..47e16915 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -279,7 +279,7 @@ function guest_register() } // If a welcome message is present, display registration success page. - if ($event_config != null && $event_config['event_welcome_msg'] != null) { + if (!empty($event_config) && !empty($event_config['event_welcome_msg'])) { return User_registration_success_view($event_config['event_welcome_msg']); } @@ -289,7 +289,7 @@ function guest_register() $buildup_start_date = time(); $teardown_end_date = null; - if ($event_config != null) { + if (!empty($event_config)) { if (isset($event_config['buildup_start_date'])) { $buildup_start_date = $event_config['buildup_start_date']; } |