aboutsummaryrefslogtreecommitdiff
path: root/model/Conference.php
diff options
context:
space:
mode:
authorroot2016-09-03 20:05:02 +0200
committerroot2016-09-03 20:05:02 +0200
commit248e63e855ed73f67ebaa8ca88ca060654346989 (patch)
treee1b251af041b4a28c6d3f1f918e0fa0d1b238af6 /model/Conference.php
parente0dc97ff62bb77c7e943a28638c5da1b9d429577 (diff)
fix forceopen switch
Diffstat (limited to 'model/Conference.php')
-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']))