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:
pilpi 2008-11-22 17:30:12 +00:00
parent 721efa237d
commit 4070210d93

View File

@ -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();