diff options
author | root | 2016-09-03 20:05:02 +0200 |
---|---|---|
committer | root | 2016-09-03 20:05:02 +0200 |
commit | 248e63e855ed73f67ebaa8ca88ca060654346989 (patch) | |
tree | e1b251af041b4a28c6d3f1f918e0fa0d1b238af6 /model | |
parent | e0dc97ff62bb77c7e943a28638c5da1b9d429577 (diff) |
fix forceopen switch
Diffstat (limited to 'model')
-rw-r--r-- | model/Conference.php | 2 |
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'])) |