summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-overdue
diff options
context:
space:
mode:
authorivan <ivan>2001-12-27 09:26:14 +0000
committerivan <ivan>2001-12-27 09:26:14 +0000
commitcf16b23820da69e3c8d0156ae27e21c635bf1ec5 (patch)
tree3aaac010a7741957247151074be000f3e8247129 /FS/bin/freeside-overdue
parentfee9bc7edcdd27e7a4e47bc313d05c66cd900073 (diff)
service and package disable!
Diffstat (limited to 'FS/bin/freeside-overdue')
-rwxr-xr-xFS/bin/freeside-overdue10
1 files changed, 5 insertions, 5 deletions
diff --git a/FS/bin/freeside-overdue b/FS/bin/freeside-overdue
index 65941ce95..0c62b99c1 100755
--- a/FS/bin/freeside-overdue
+++ b/FS/bin/freeside-overdue
@@ -48,10 +48,10 @@ foreach $cust_main ( qsearch('cust_main',{} ) ) {
$cust_main->balance_date(time-$opt{d} * 86400);
}
- if ( $opt{l} ) {
- print "\n\tCharging late fee of \$$opt{l}" unless $opt{q};
-
- }
+# if ( $opt{l} ) {
+# print "\n\tCharging late fee of \$$opt{l}" unless $opt{q};
+#
+# }
foreach $cust_pkg ( qsearch( 'cust_pkg',
{ 'custnum' => $cust_main->custnum } ) ) {
@@ -83,7 +83,7 @@ foreach $cust_main ( qsearch('cust_main',{} ) ) {
sub untaint_argv {
foreach $_ ( $[ .. $#ARGV ) {
- $ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
+ $ARGV[$_] =~ /^([\w\-\/\.]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
$ARGV[$_]=$1;
}
}