Block problem

Block problem

by Andrew Wojtowicz -
Number of replies: 0

I had a block created called block_admin_users.php.  This allowed only admins to see who has logged in, in the last 5 minutes.  this was in version 1.4.2.  Now i'm running v1.4.3 and it doesn't work.  all i did when i created the block was copy the online_users block and edit it to say block_admin_users.php and add if(empty($USER) || !isadmin()) {
            return $this->content;
        }

after  $this->content = New object; 
        $this->content->text = ''; 
        $this->content->footer = '';

thanks

Average of ratings: -