summaryrefslogtreecommitdiff
path: root/node.php
diff options
context:
space:
mode:
Diffstat (limited to 'node.php')
-rw-r--r--node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.php b/node.php
index 58bddd3d2..711268674 100644
--- a/node.php
+++ b/node.php
@@ -93,7 +93,7 @@ if ($number > 1) {
$theme->footer();
}
elseif ($number) {
- $node = ($title ? node_get_object(array("title" => check_input($title))) : node_get_object(nid, check_input($id)));
+ $node = ($title ? node_get_object(array("title" => $title)) : node_get_object(array("nid" => $id)));
if ($node && node_visible($node)) {
switch ($op) {
case "history":