Skip to content

Commit

Permalink
Dev: Fix permission for regen question code buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jan 31, 2018
1 parent e82b469 commit ff19b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/admin/survey/surveybar_tools.php
Expand Up @@ -132,7 +132,7 @@
<?php endforeach; ?>
<?php endif; ?>
<?php endif; ?>
<?php if (!$oSurvey->isActive): ?>
<?php if (!$oSurvey->isActive && Permission::model()->hasSurveyPermission($iSurveyID, 'surveycontent', 'update')): ?>
<li role="separator" class="divider"></li>

<!-- Regenerate question codes -->
Expand Down

0 comments on commit ff19b0a

Please sign in to comment.