Commit d995621f authored by Dries's avatar Dries

- Patch #27781 by Robert Jacques: fixed node not being loaded.

parent 6ef519f7
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment