Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.2
-
Fix Version/s: 3.2.2
-
Component/s: Forms Library
-
Testing Instructions:
-
Affected Branches:MOODLE_32_STABLE
-
Fixed Branches:MOODLE_32_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-57568-master -
Pull Master Diff URL:
Description
$buttonarray = array();
$buttonarray[] = &$mform->createElement('button', 'solicitacoes', 'Solicitações');
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
This code generate the error
( ! ) Fatal error: Trait 'templatable_form_element' not found in moodlepath\lib\form\button.php on line 44
In form/button.php it import was missed
require_once('templatable_form_element.php');