From: ivan Date: Wed, 5 Nov 2003 10:26:46 +0000 (+0000) Subject: allow letters in quota for use with edquota -p X-Git-Tag: NET_WHOIS_RAW_0_31~289 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=36034232a364770860d6ac531d12e66bbbb70046 allow letters in quota for use with edquota -p --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index e4acf7459..4c943a710 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -786,7 +786,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' ) {