mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
quiz editing: MDL-17293 Added a default value to avoid error messages
Added a default value to the function that passes a page number to avoid error messages.
This commit is contained in:
parent
721efa237d
commit
4070210d93
@ -228,7 +228,7 @@ class question_category_object {
|
||||
* Displays the user interface
|
||||
*
|
||||
*/
|
||||
function display_randomquestion_user_interface($addonpage) {
|
||||
function display_randomquestion_user_interface($addonpage=0) {
|
||||
$this->catform_rand->set_data(array('addonpage'=>$addonpage));
|
||||
/// Interface for adding a new category:
|
||||
$this->output_new_randomquestion_table();
|
||||
|
Loading…
x
Reference in New Issue
Block a user