diff options
Diffstat (limited to 'application/views/file')
-rw-r--r-- | application/views/file/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php index 176dd5a25..526a9bca4 100644 --- a/application/views/file/header.php +++ b/application/views/file/header.php @@ -13,7 +13,7 @@ <?php echo anchor('file/index', 'New'); ?> <div class="right"> - <?php if($username) { ?> + <?php if(isset($username) && $username) { ?> <?=anchor("user/logout", "Logout"); ?> <?php } else { ?> <?=form_open("user/login"); ?> |