aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/header.phtml
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:22:34 +0100
committerMaZderMind2016-12-10 18:22:34 +0100
commitf6c0270d40f6730fe1e1820f2866b08792df1db6 (patch)
treef0da1effc9f55f2f75dc57fe1ba17419d559b45b /template/assemblies/header.phtml
parentb227ac0ee80f6de300fed10a34e7393847227cfc (diff)
rewrite data-model so that every configuration option is accessed through the conference
Diffstat (limited to 'template/assemblies/header.phtml')
-rw-r--r--template/assemblies/header.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index c4d92e7..6791bfe 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -15,8 +15,8 @@
</a>
<? endif ?>
- <? if(!$conference->hasEnded() && isset($feedback) && $feedback->isEnabled()): ?>
- <a class="form-control btn btn-default feedback" title="Feedback" href="<?=h($feedback->getUrl())?>">
+ <? if(!$conference->hasEnded() && $conference->hasFeedback()): ?>
+ <a class="form-control btn btn-default feedback" title="Feedback" href="<?=h($conference->getFeedbackUrl())?>">
<span class="fa fa-bullhorn"></span>
</a>
<? endif ?>