From f14c0f1d84b93d05453541d9a947dfe916b4eced Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Thu, 2 Jul 2009 07:29:08 +0000 Subject: [PATCH] pagelib MDL-19077 Fixed minor error in pagelib --- lib/pagelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pagelib.php b/lib/pagelib.php index 53c6447f45..1dab12fd9c 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -874,7 +874,7 @@ class moodle_page { debugging('Some code on this page is using the horrible legacy mechanism $CFG->stylesheets to include links to ' . 'extra stylesheets. This is deprecated. Please use $PAGE->requires->css(...) instead.', DEBUG_DEVELOPER); foreach ($CFG->stylesheets as $stylesheet) { - $this->page->requires->css($stylesheet, true); + $this->requires->css($stylesheet, true); } } -- 2.39.5