From: ivan Date: Wed, 5 Nov 2003 10:26:44 +0000 (+0000) Subject: allow letters in quota for use with edquota -p X-Git-Tag: freeside_1_4_2beta1~406 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=ff5572a598762832d17be6e3425a1c5bf199681d;p=freeside.git allow letters in quota for use with edquota -p --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 0b37f0620..a0823e6d4 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -799,7 +799,7 @@ sub check { or return "Illegal finger: ". $self->getfield('finger'); $self->setfield('finger', $1); - $recref->{quota} =~ /^(\d*)$/ or return "Illegal quota"; + $recref->{quota} =~ /^(\w*)$/ or return "Illegal quota"; $recref->{quota} = $1; unless ( $part_svc->part_svc_column('slipip')->columnflag eq 'F' ) {