MDL-42574 blocks: Fix strict standards warning in community block

This commit is contained in:
Ankit Agarwal
2013-10-28 15:43:09 +08:00
parent 60ca7d5b07
commit 17a0f7350f
+1
View File
@@ -38,6 +38,7 @@ class block_community_manager {
$community = $this->block_community_get_course($course->url, $userid);
if (empty($community)) {
$community = new stdClass();
$community->userid = $userid;
$community->coursename = $course->name;
$community->coursedescription = $course->description;