summaryrefslogtreecommitdiff
path: root/includes/model/EventConfig_model.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model/EventConfig_model.php')
-rw-r--r--includes/model/EventConfig_model.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/model/EventConfig_model.php b/includes/model/EventConfig_model.php
index 0529c286..ac8d5e72 100644
--- a/includes/model/EventConfig_model.php
+++ b/includes/model/EventConfig_model.php
@@ -5,10 +5,12 @@
*/
function EventConfig() {
$event_config = sql_select("SELECT * FROM `EventConfig` LIMIT 1");
- if ($event_config === false)
+ if ($event_config === false) {
return false;
- if (count($event_config) > 0)
+ }
+ if (count($event_config) > 0) {
return $event_config[0];
+ }
return null;
}