summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate/phptemplate.engine
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-25 21:32:07 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-25 21:32:07 +0000
commitfd32b42196978ec8df02049cccb83e5b868bfbd7 (patch)
treeffc5aaf65c34e33d2219df67cbda5346ab0c9def /themes/engines/phptemplate/phptemplate.engine
parent03752e35a41992c3d61f2591980020c87af257e7 (diff)
downloadbrdo-fd32b42196978ec8df02049cccb83e5b868bfbd7.tar.gz
brdo-fd32b42196978ec8df02049cccb83e5b868bfbd7.tar.bz2
- Patch #112715 by webchick et al: fixed some E_ALL errors.
Diffstat (limited to 'themes/engines/phptemplate/phptemplate.engine')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index c8892b097..a1bd0ae9d 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -213,8 +213,8 @@ function phptemplate_page($content, $show_blocks = TRUE) {
'primary_links' => menu_primary_links(),
'search_box' => (theme_get_setting('toggle_search') ? drupal_get_form('search_theme_form') : ''),
'secondary_links' => menu_secondary_links(),
- 'sidebar_left' => $sidebar_left,
- 'sidebar_right' => $sidebar_right,
+ 'sidebar_left' => isset($sidebar_left) ? $sidebar_left : '',
+ 'sidebar_right' => isset($sidebar_right) ? $sidebar_right : '',
'site_name' => (theme_get_setting('toggle_name') ? variable_get('site_name', 'Drupal') : ''),
'site_slogan' => (theme_get_setting('toggle_slogan') ? variable_get('site_slogan', '') : ''),
'css' => drupal_add_css(),