summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan-debian@420.am>2012-03-15 13:56:48 -0700
committerIvan Kohler <ivan-debian@420.am>2012-03-15 13:56:48 -0700
commit7d68066ea33f9f85fe14ce663372642d7ec2ad20 (patch)
treef659173a23d541da3032f8a8156f888810d7efda /httemplate/edit/process
parentd622dc369cc0856fb791658b35f889470a7da605 (diff)
parenta69299c596de60f4b26db7431165f7f3ffe928e2 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/svc_broadband.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/process/svc_broadband.cgi b/httemplate/edit/process/svc_broadband.cgi
index 4184f5fa6..31def255c 100644
--- a/httemplate/edit/process/svc_broadband.cgi
+++ b/httemplate/edit/process/svc_broadband.cgi
@@ -13,6 +13,9 @@ die "access denied"
sub precheck {
my $cgi = shift;
+ if ( !defined($cgi->param('ip_addr')) ) {
+ $cgi->param('ip_addr', $cgi->param('prev_ip_addr') || '');
+ }
$cgi->param("usergroup", [ $cgi->param('usergroup') ]);
''
}