summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorkhoff <khoff>2003-04-21 21:13:20 +0000
committerkhoff <khoff>2003-04-21 21:13:20 +0000
commitb938a41859030d3d3a126f39fa1b64b9211145a5 (patch)
tree8822ba444a06bab10479688b39ecaa3352d51ec6 /httemplate
parent76e4bd639e70f707f7b9623b6228904146fbf07b (diff)
Fixed bug with $routernum and new routers. Navigation cleanup.
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/process/router.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/process/router.cgi b/httemplate/edit/process/router.cgi
index c0cb884f0..1b7fc3805 100644
--- a/httemplate/edit/process/router.cgi
+++ b/httemplate/edit/process/router.cgi
@@ -34,6 +34,7 @@ if($old) {
} #else do nothing
} else {
$error = $new->insert;
+ $routernum = $new->routernum;
}
check($error);
@@ -95,6 +96,6 @@ foreach($cgi->param) {
# Yay, everything worked!
$dbh->commit or die $dbh->errstr;
-print $cgi->redirect(popurl(3). "edit/router.cgi?$routernum");
+print $cgi->redirect(popurl(3). "browse/router.cgi");
%>