mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Bugfix - Fixed problem preventing the creation of a new outage.
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user