MDL-9123:
Added language string for error message
This commit is contained in:
+1
-1
@@ -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' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user