Call the parent's constructor in renderers
This commit is contained in:
@@ -44,7 +44,7 @@ class moodle_workshopallocation_manual_renderer extends moodle_renderer_base {
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($page, $output) {
|
||||
$this->page = $page;
|
||||
parent::__construct($page);
|
||||
$this->output = $output;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class moodle_mod_workshop_renderer extends moodle_renderer_base {
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($page, $output) {
|
||||
$this->page = $page;
|
||||
parent::__construct($page);
|
||||
$this->output = $output;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user