projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f94fc16
)
allow . and - in otaker usernames
author
ivan
<ivan>
Mon, 26 Aug 2002 20:40:55 +0000
(20:40 +0000)
committer
ivan
<ivan>
Mon, 26 Aug 2002 20:40:55 +0000
(20:40 +0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
8b65ac4
..
12508e1
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-229,7
+229,7
@@
sub check {
unless qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } );
$self->otaker(getotaker) unless $self->otaker;
unless qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } );
$self->otaker(getotaker) unless $self->otaker;
- $self->otaker =~ /^(
\w
{0,16})$/ or return "Illegal otaker";
+ $self->otaker =~ /^(
[\w\.\-]
{0,16})$/ or return "Illegal otaker";
$self->otaker($1);
if ( $self->dbdef_table->column('manual_flag') ) {
$self->otaker($1);
if ( $self->dbdef_table->column('manual_flag') ) {
@@
-679,7
+679,7
@@
sub order {
=head1 VERSION
=head1 VERSION
-$Id: cust_pkg.pm,v 1.2
2 2002-05-22 12:17:06
ivan Exp $
+$Id: cust_pkg.pm,v 1.2
3 2002-08-26 20:40:55
ivan Exp $
=head1 BUGS
=head1 BUGS