From 795821c497e2ba06ee820b4277ab519b6f4ffce9 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 14 Aug 2006 08:54:45 +0000 Subject: [PATCH] fixed warning in participants block --- blocks/participants/block_participants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; } -- 2.39.5