Skip to content

Commit

Permalink
Dev: button condition edit can be non-set
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 18, 2016
1 parent b46ddaa commit 57fd043
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class="btn btn-default"
<?php eT("Show conditions for this question");?>
</a>

<a class="btn btn-default <?php if($questionbar['buttons']['condition']['edit']){echo 'active';}?>" href="<?php echo $this->createUrl("admin/conditions/sa/index/subaction/editconditionsform/surveyid/$surveyid/gid/$gid/qid/$qid"); ?>" role="button">
<a class="btn btn-default <?php if(isset($questionbar['buttons']['condition']['edit']) && $questionbar['buttons']['condition']['edit']){ echo 'active'; }?>" href="<?php echo $this->createUrl("admin/conditions/sa/index/subaction/editconditionsform/surveyid/$surveyid/gid/$gid/qid/$qid"); ?>" role="button">
<span class="icon-conditions_add"></span>
<?php eT("Add and edit conditions");?>
</a>
Expand Down

0 comments on commit 57fd043

Please sign in to comment.