diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-27 00:22:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-27 00:22:27 +0000 |
commit | 2e8ca690ff471b1d6604226e8153f401b1827204 (patch) | |
tree | 546f818191f809271154f26464961e3425dbc72c /modules/system/system.admin.inc | |
parent | ba5609c11a88f8ab8f42520c3f39eafb69dd463e (diff) | |
download | brdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.gz brdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.bz2 |
- Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 703de2d01..be461d727 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1888,7 +1888,10 @@ function system_batch_page() { elseif (isset($output)) { // Force a page without blocks or messages to // display a list of collected messages later. - print theme('page', $output, FALSE, FALSE); + $page = drupal_get_page($output); + $page['#show_blocks'] = FALSE; + $page['#show_messages'] = FALSE; + return $page; } } |