aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--category.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/category.php b/category.php
index 898b48bf7..c10269bf8 100644
--- a/category.php
+++ b/category.php
@@ -368,7 +368,7 @@ else
$template->assign_block_vars('logout', array());
}
- if ('admin' == $user['status'])
+ if (is_admin())
{
$template->assign_block_vars('admin', array());
}
@@ -408,7 +408,7 @@ $template->assign_block_vars(
if (isset($page['cat'])
and is_numeric($page['cat'])
- and 'admin' == $user['status'])
+ and is_admin())
{
$template->assign_block_vars(
'edit',