From: khoff Date: Mon, 21 Apr 2003 21:13:20 +0000 (+0000) Subject: Fixed bug with $routernum and new routers. Navigation cleanup. X-Git-Tag: freeside_1_5_0pre1~12 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=b938a41859030d3d3a126f39fa1b64b9211145a5;hp=76e4bd639e70f707f7b9623b6228904146fbf07b Fixed bug with $routernum and new routers. Navigation cleanup. --- 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"); %>