Bugfix - Fixed problem preventing the creation of a new outage.

This commit is contained in:
Daniel Thee Roperto
2016-09-12 09:53:50 +10:00
parent cf78e2e180
commit 4462a9c07b
2 changed files with 6 additions and 6 deletions

View File

@@ -135,7 +135,7 @@ class edit extends \moodleform {
'description' => ['text' => $outage->description, 'format' => '1']
]);
} else {
throw new \InvalidArgumentException('$default_values must be an outage object.');
throw new \InvalidArgumentException('$outage must be an outage object.');
}
}
}