projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug with $routernum and new routers. Navigation cleanup.
[freeside.git]
/
httemplate
/
edit
/
process
/
router.cgi
diff --git
a/httemplate/edit/process/router.cgi
b/httemplate/edit/process/router.cgi
index
c0cb884
..
1b7fc38
100644
(file)
--- 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;
} #else do nothing
} else {
$error = $new->insert;
+ $routernum = $new->routernum;
}
check($error);
}
check($error);
@@
-95,6
+96,6
@@
foreach($cgi->param) {
# Yay, everything worked!
$dbh->commit or die $dbh->errstr;
# 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
");
%>
%>