From: skodak Date: Mon, 14 Aug 2006 08:54:45 +0000 (+0000) Subject: fixed warning in participants block X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=795821c497e2ba06ee820b4277ab519b6f4ffce9;p=moodle.git fixed warning in participants block --- diff --git a/blocks/participants/block_participants.php b/blocks/participants/block_participants.php index 39857e8a0a..06921eb075 100644 --- a/blocks/participants/block_participants.php +++ b/blocks/participants/block_participants.php @@ -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 ''; }