Skip to content

Commit

Permalink
Merge branch 'wip-MDL-54962-30' of git://github.com/abgreeve/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_30_STABLE
  • Loading branch information
David Monllao committed Jul 11, 2016
2 parents 069cc7b + e0bf071 commit 16d219a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/data/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1332,9 +1332,9 @@ function data_print_template($template, $records, $data, $search='', $page=0, $r
if (!$data->approval) {
$replacement[] = '';
} else if ($record->approved) {
$replacement[] = 'approved';
$replacement[] = get_string('approved', 'data');
} else {
$replacement[] = 'notapproved';
$replacement[] = get_string('notapproved', 'data');
}

$patterns[]='##comments##';
Expand Down

0 comments on commit 16d219a

Please sign in to comment.