MDL-31006 fix various notices in PHP54
PHP54 compatibility
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
ae924874d7
commit
b85b25ebb8
@@ -195,6 +195,7 @@ class block_navigation extends block_base {
|
||||
|
||||
// Grab the items to display
|
||||
$renderer = $this->page->get_renderer('block_navigation');
|
||||
$this->content = new stdClass();
|
||||
$this->content->text = $renderer->navigation_tree($navigation, $expansionlimit, $options);
|
||||
|
||||
// Set content generated to true so that we know it has been done
|
||||
|
||||
Reference in New Issue
Block a user