fixed warning in participants block

This commit is contained in:
skodak 2006-08-14 08:54:45 +00:00
parent 4c460d9821
commit 795821c497

View File

@ -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 '';
}