projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
expiration month always 2 digits, RT#10161
[freeside.git]
/
httemplate
/
misc
/
process
/
delay_susp_pkg.html
diff --git
a/httemplate/misc/process/delay_susp_pkg.html
b/httemplate/misc/process/delay_susp_pkg.html
index
c7cc7de
..
8649cc2
100755
(executable)
--- a/
httemplate/misc/process/delay_susp_pkg.html
+++ b/
httemplate/misc/process/delay_susp_pkg.html
@@
-21,7
+21,7
@@
$cgi->param('pkgnum') =~ /^(\d+)$/ or die "Illegal pkgnum";
$pkgnum = $1;
#untaint date
-
str2
time($cgi->param('date')) =~ /^(\d+)$/ or die "Illegal date";
+
parse_date
time($cgi->param('date')) =~ /^(\d+)$/ or die "Illegal date";
my $date = $1;
$cust_pkg = qsearchs( 'cust_pkg', {'pkgnum'=>$pkgnum} );