diff --git a/mod/resource/lib.php b/mod/resource/lib.php index c6ae028234f..9b0187e32ac 100644 --- a/mod/resource/lib.php +++ b/mod/resource/lib.php @@ -95,6 +95,7 @@ class resource_base { function resource_base($cmid=0) { global $CFG, $COURSE; + $this->navlinks = array(); if ($cmid) { if (! $this->cm = get_coursemodule_from_id('resource', $cmid)) {