From 2e25565b86fc98279f4930bbb9cd322f4577a0c9 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Sat, 21 Apr 2001 22:48:28 +0000 Subject: - Fixed bug when node-navigation-combobox wouldn't select the correct item if drupal was run from a sub-directory. --- includes/node.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/node.inc b/includes/node.inc index d5074ce61..853e3d8d2 100644 --- a/includes/node.inc +++ b/includes/node.inc @@ -182,8 +182,9 @@ function node_control($node) { else $choices = array("node.php?id=$node->nid" => t("view node"), "node.php?op=history&id=$node->nid" => t("view history")); + $output .= $REQUEST_URI; $output .= "
\n"; - foreach ($choices as $key => $value) $options .= "\n"; + foreach ($choices as $key => $value) $options .= "\n"; $output .= " \n"; $output .= "
\n"; -- cgit v1.2.3