Fixed bug with $routernum and new routers. Navigation cleanup.
authorkhoff <khoff>
Mon, 21 Apr 2003 21:13:20 +0000 (21:13 +0000)
committerkhoff <khoff>
Mon, 21 Apr 2003 21:13:20 +0000 (21:13 +0000)
httemplate/edit/process/router.cgi

index c0cb884..1b7fc38 100644 (file)
@@ -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");
 
 %>