Commit cf0561b8 authored by Leigh Stoller's avatar Leigh Stoller

Minor tweak.

parent 32682011
......@@ -442,9 +442,16 @@ if ($action == "modify") {
}
}
#
# Zap back to this page, but with show option.
#
header("Location: ".
"template_metadata.php?action=show&guid=$metadata_guid".
"&version=$metadata_newvers");
if (isset($template_guid) && isset($template_vers)) {
header("Location: ".
"template_show.php?guid=$template_guid&version=$template_vers");
}
else {
#
# Zap back to this page, but with show option.
#
header("Location: ".
"template_metadata.php?action=show&guid=$metadata_guid".
"&version=$metadata_newvers");
}
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