mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
fixed warning in participants block
This commit is contained in:
parent
4c460d9821
commit
795821c497
@ -11,7 +11,7 @@ class block_participants extends block_list {
|
||||
global $USER, $CFG;
|
||||
|
||||
// the following 3 lines is need to pass _self_test();
|
||||
if (!$this->instance->pageid) {
|
||||
if (empty($this->instance->pageid)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user