mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
fixed warning in participants block
This commit is contained in:
parent
4c460d9821
commit
795821c497
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class block_participants extends block_list {
|
||||||
global $USER, $CFG;
|
global $USER, $CFG;
|
||||||
|
|
||||||
// the following 3 lines is need to pass _self_test();
|
// the following 3 lines is need to pass _self_test();
|
||||||
if (!$this->instance->pageid) {
|
if (empty($this->instance->pageid)) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue