summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-09 05:32:31 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-09 05:32:31 +0000
commitd995621f2e885e710523e4cc689155d5d12e874d (patch)
tree20f6d7210f686c493d267d94f909c8fcac224cec /themes
parent6ef519f7fc93ff4b1147a72d00a65b8dca6c4404 (diff)
downloadbrdo-d995621f2e885e710523e4cc689155d5d12e874d.tar.gz
brdo-d995621f2e885e710523e4cc689155d5d12e874d.tar.bz2
- Patch #27781 by Robert Jacques: fixed node not being loaded.
Diffstat (limited to 'themes')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index 653020169..a793509d7 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -210,7 +210,8 @@ function phptemplate_page($content) {
'tabs' => theme('menu_local_tasks'),
'title' => drupal_get_title()
);
- if ((arg(0) == 'node') && is_int(arg(1))) {
+
+ if ((arg(0) == 'node') && is_numeric(arg(1))) {
$variables['node'] = node_load(arg(1));
}