diff --git a/main/coursecopy/classes/Course.class.php b/main/coursecopy/classes/Course.class.php index 0efd0f6410..eb46701f5a 100755 --- a/main/coursecopy/classes/Course.class.php +++ b/main/coursecopy/classes/Course.class.php @@ -39,7 +39,7 @@ class Course foreach ($this->resources as $type => $resources) { if (is_array($resources)) { foreach ($resources as $resource) { - Resource::setClassType($resource); + Coursecopy\Resource::setClassType($resource); if ($resource->links_to($resource_to_check) ) { return true; } diff --git a/main/coursecopy/classes/CourseSelectForm.class.php b/main/coursecopy/classes/CourseSelectForm.class.php index d3386242c3..adede160f9 100755 --- a/main/coursecopy/classes/CourseSelectForm.class.php +++ b/main/coursecopy/classes/CourseSelectForm.class.php @@ -224,7 +224,7 @@ class CourseSelectForm foreach ($resources as $id => $resource) { if ($resource) { // Event obj in 1.9.x in 1.10.x the class is CalendarEvent - Resource::setClassType($resource); + Coursecopy\Resource::setClassType($resource); echo '