-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.10, 2.8.8, 2.9.2, 3.0.5, 3.1, 3.2
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-51410_m32v2 -
Easy
-
When you browse an user survey report and add a private analysis and notes, the report displays the Your notes were saved message in red background, at first glance seems there was an error while saving the notes.
It's just a matter of adding notifiysucess parameter on the
$OUTPUT->notification(get_string("savednotes", "survey"), 'notifysuccess');
|
There also hardocoded strings, that I think could be adress here too:
echo $OUTPUT->notification("An error occurred while saving your notes. Sorry.");
|