mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-9123:
Added language string for error message
This commit is contained in:
parent
146b8728c7
commit
75b5701ae7
2 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
|||
if (!empty($categoryid)) {
|
||||
$validcats = question_category_options( $course->id, true, false );
|
||||
if (!array_key_exists( $categoryid, $validcats)) {
|
||||
print_error( "Category id ($categoryid) is not permitted." );
|
||||
print_error( 'invalidcategory','quiz' );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue