Skip to content
Permalink
Browse files
Bugfix: Rules signed checkbox not displayed in participant list
Although the “rules checkbox” is enabled in Options/General Settings/Extra features, there is no checkbox for rules displayed in the participant list for a session. Rather, just a text (yes/no) appears in the column. As a result, when the participant list is saved, the status of “rules_signed” is set to “n” for all participants in the list.

This fix adds the checkbox to each row of the participant list and thereby fixes both the display as well as the data saving issue.
  • Loading branch information
bgreiner committed Oct 15, 2015
1 parent e6d9002 commit a0a4f95096d6cbc1f26246072d690321319b2996
Showing 1 changed file with 5 additions and 2 deletions.
@@ -1504,8 +1504,11 @@ function participant__get_result_table_row($columns,$p) {
case 'rules_signed':
if ($settings['enable_rules_signed_tracking']=='y') {
$out.='<td class="small">';
$out.=lang($p['rules_signed']);
$out.='</td>';
$out.='<INPUT type="checkbox" name="rules['.$p['participant_id'].']" value="y"';
if ($p['rules_signed']=='y') {
$out.=' CHECKED';
}
$out.='></td>';
}
break;
case 'subscriptions':

0 comments on commit a0a4f95

Please sign in to comment.