-
Bug
-
Resolution: Fixed
-
Minor
-
2.0
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
-
The following error appear when trying to set a template for the activity.
Debug info: Argument 1 passed to html_table_row::__construct() must be an array, string given, called in /m20/moodle/mod/data/lib.php on line 530 and defined
|
Stack trace:
|
|
* line 359 of /lib/setuplib.php: coding_exception thrown
|
* line 1785 of /lib/outputcomponents.php: call to default_error_handler()
|
* line 530 of /mod/data/lib.php: call to html_table_row->__construct()
|
* line 153 of /mod/data/templates.php: call to data_generate_default_template()
|
The error only occurs in MOODLE_20_Stable. Sam has fixed the error for 2.1 version through MDL-27471.