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/user_settings.php | |
parent | 0e8cc2f0a73085170df45c6a40e8f3df06a6af51 (diff) |
database: updated checks for selectOne
Diffstat (limited to 'includes/pages/user_settings.php')
-rw-r--r-- | includes/pages/user_settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php index bdc8b70d..b3a5bdf5 100644 --- a/includes/pages/user_settings.php +++ b/includes/pages/user_settings.php @@ -215,7 +215,7 @@ function user_settings() $buildup_start_date = null; $teardown_end_date = null; $event_config = EventConfig(); - if ($event_config != null) { + if (!empty($event_config)) { if (isset($event_config['buildup_start_date'])) { $buildup_start_date = $event_config['buildup_start_date']; } |