summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 7416c17e9..097ab84c2 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -176,7 +176,8 @@ function drupal_not_found() {
}
if ($status != MENU_FOUND) {
- print theme('page', '', t('Page not found'));
+ drupal_set_title(t('Page not found'));
+ print theme('page', '');
}
}
@@ -195,7 +196,8 @@ function drupal_access_denied() {
}
if ($status != MENU_FOUND) {
- print theme('page', message_access(), t('Access denied'));
+ drupal_set_title(t('Access denied'));
+ print theme('page', message_access());
}
}