Skip to content
Permalink
Browse files

Merge branch 'MDL-38397_24' of git://github.com/timhunt/moodle into M…

…OODLE_24_STABLE
  • Loading branch information...
stronk7 committed Mar 19, 2013
2 parents d4ce77f + 3d8c5cb commit f6a52da112ae15637f689c29ee80d33baeec676a
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/edit_question_form.php
@@ -656,7 +656,7 @@ public function validation($fromform, $files) {
}
// Default mark.
if ($fromform['defaultmark'] < 0) {
if (array_key_exists('defaultmark', $fromform) && $fromform['defaultmark'] < 0) {
$errors['defaultmark'] = get_string('defaultmarkmustbepositive', 'question');
}

0 comments on commit f6a52da

Please sign in to comment.
You can’t perform that action at this time.