aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Conference.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Conference.php b/model/Conference.php
index 9cb62d3..c6afa98 100644
--- a/model/Conference.php
+++ b/model/Conference.php
@@ -7,7 +7,7 @@ class Conference extends ModelBase
}
public function isPreviewEnabled() {
- if(isset($GLOBALS['forceopen']))
+ if($GLOBALS['forceopen'])
return true;
if($this->has('PREVIEW_DOMAIN') && ($this->get('PREVIEW_DOMAIN') == $_SERVER['SERVER_NAME']))