We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7fbe59 commit f738b1fCopy full SHA for f738b1f
block_evasys_sync.php
@@ -50,9 +50,13 @@ public function get_content() {
50
return $this->content;
51
}
52
53
+ $evasyscategory = \block_evasys_sync\evasys_category::for_course($this->page->course);
54
+ if (!$evasyscategory) {
55
+ return $this->content;
56
+ }
57
+
58
$evalrequest = \block_evasys_sync\evaluation_request::for_course($this->page->course->id);
59
$evaluations = \block_evasys_sync\evaluation::for_course($this->page->course->id);
- $evasyscategory = \block_evasys_sync\evasys_category::for_course($this->page->course);
60
61
$stringformat = get_string('strftimedatetime', 'langconfig');
62
0 commit comments