summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2007-08-08 19:18:35 +0000
committerivan <ivan>2007-08-08 19:18:35 +0000
commit51d699639c09bdb34513fb49f4a3769893802640 (patch)
treec764567d7b3bd0c7ee91719ccfa4d3a45f2e581e /FS
parent697f745a6e5ac606e625c0edfa7f786526f21f47 (diff)
fix otaker regex
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 571bf0e0e..eca3af488 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -437,7 +437,7 @@ sub check {
}
$self->otaker(getotaker) unless $self->otaker;
- $self->otaker =~ /^([\w\.\-]{0,16})$/ or return "Illegal otaker";
+ $self->otaker =~ /^(\w{1,32})$/ or return "Illegal otaker";
$self->otaker($1);
if ( $self->dbdef_table->column('manual_flag') ) {