From a1b85c9ba50949f78748ed0c42bb01acf92bfe43 Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 5 Apr 2006 07:41:12 +0000 Subject: [PATCH] Added isset($course) test to get rid of notice --- course/edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/edit.html b/course/edit.html index dd50389e36..b1a36f24e4 100644 --- a/course/edit.html +++ b/course/edit.html @@ -271,7 +271,7 @@ enrol), 'print_entry') && $course->enrol != 'manual') { + if (isset($course) && method_exists(enrolment_factory::factory($course->enrol), 'print_entry') && $course->enrol != 'manual') { ?> : -- 2.39.5