summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index cbf60619d..df8ae7241 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -169,12 +169,12 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $notice=NULL
($config['site']['logo']) : theme_path('logo.png'),
'alt' => $config['site']['name'],
'id' => 'logo'));
- if ($notice && common_logged_in()) {
+ if (common_logged_in()) {
common_notice_form();
}
common_element_end('div');
common_element_start('div', array('id' => 'content'));
- if ($notice && common_logged_in()) {
+ if (common_logged_in()) {
common_views_menu();
}
}