How to display a block only for Admin I want a block to be visible only for Admin in Drupal 6.

To do it I've selected the third option(Show if the following PHP code returns TRUE (PHP-mode, experts only).) and entered the php code:

&lt;?php
global $user;return $user-&gt;uid == 1;
?&gt;


But the problem is that now this block shows only when I'm on some specific urls while logged in admin and not always when logged in admin.
What's wrong?

I don't want to use the second option (Show on only the listed pages).
One more way to check for admin rights, sure it works in Drupal 6.

if (user_access('access administration pages')) {
    // do something
}