Skip to content

Commit

Permalink
Fixed issue: Should not be possible to change ranking columns when su…
Browse files Browse the repository at this point in the history
…rvey is active
  • Loading branch information
olleharstedt committed Aug 23, 2017
1 parent 4824276 commit c7553b4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@
<!-- Input -->
<div class="col-sm-8">
<?php
if ($aAttribute['readonly'] && $bIsActive)
if (($aAttribute['readonly'] || isset($aAttribute['readonly_when_active']) && $aAttribute['readonly_when_active']) && $bIsActive)
{
echo $aAttribute['value'];
}
Expand Down

1 comment on commit c7553b4

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?
Strange system ;) readonly must be always 'read only' and readonly_when_active only whan active.
Some update somewhere at sometimes ?

Please sign in to comment.