MDL-59827 users: Typo in force_open()
authorDamyon Wiese <damyon@moodle.com>
Tue, 29 Aug 2017 07:06:43 +0000 (15:06 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 29 Aug 2017 07:06:43 +0000 (15:06 +0800)
force_open() not forceopen()

user/index.php

index 80b3932..75dc2be 100644 (file)
@@ -95,7 +95,7 @@ $PAGE->set_other_editing_capability('moodle/course:manageactivities');
 // are related to this one.
 $node = $PAGE->settingsnav->find('users', navigation_node::TYPE_CONTAINER);
 if ($node) {
-    $node->forceopen();
+    $node->force_open();
 }
 
 echo $OUTPUT->header();