Extra version bump + trailing whitespace removal.
if (!$cohortname) {
$str = $OUTPUT->error_text(get_string('error:nosuchcohort', 'badges'));
} else {
- $str = html_writer::tag('b', '"' . $cohortname . '"');
+ $str = html_writer::tag('b', '"' . format_string($cohortname, true) . '"');
}
$output[] = $str;
}
And I log in as "user2"
And I follow "Profile" in the user menu
And I should not see "Site Badge"
-
+
@javascript
Scenario: Award badge based on a single cohort membership or other criteria.
Given the following "cohorts" exist:
And I log in as "user3"
And I follow "Profile" in the user menu
And I should not see "Site Badge"
-
+
@javascript
Scenario: Award badge based on a multiple cohort membership or other criteria.
Given the following "cohorts" exist:
defined('MOODLE_INTERNAL') || die();
-$version = 2018040500.02; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2018040500.03; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.