Commit 40b13e55 authored by Dries's avatar Dries
Browse files

- node_load(array('nid' => arg(1))) -> node_load(arg(1))

parent 160a1e0e
......@@ -172,7 +172,7 @@ function phptemplate_page($content) {
'closure' => theme('closure')
);
if ((arg(0) == 'node') && is_int(arg(1))) {
$variables['node'] = node_load(array('nid' => arg(1)));
$variables['node'] = node_load(arg(1));
}
return _phptemplate_callback('page', $variables);
......
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