Skip to content

Commit

Permalink
MDL-34432 Assign: Set up the commentinline form element properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Dec 19, 2013
1 parent f03671d commit 76dc48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/feedback/comments/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function save_settings(stdClass $data) {
* @return void
*/
public function get_settings(MoodleQuickForm $mform) {
$default = get_config('assignfeedback_comments', 'inline');
$default = $this->get_config('commentinline');
$mform->addElement('selectyesno',
'assignfeedback_comments_commentinline',
get_string('commentinline', 'assignfeedback_comments'));
Expand Down

0 comments on commit 76dc48c

Please sign in to comment.