Commit b4f8bdc4 authored by Russ Fish's avatar Russ Fish

Link by xref_tag on redirect if there is one.

parent c14da74c
......@@ -469,7 +469,13 @@ if (isset($idx) && (!isset($action) || $action != "delete")) {
#
# Okay, redirect the user over to the show page so they can see it.
#
header("Location: kb-show.php3?idx=$idx");
if (isset($xref_tag) && $xref_tag != "") {
header("Location: kb-show.php3?xref_tag=".
str_replace("'", "", $xref_tag));
}
else {
header("Location: kb-show.php3?idx=$idx");
}
}
else {
# Redirect to the search page.
......
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