summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-02-12 02:33:21 -0800
committerIvan Kohler <ivan@freeside.biz>2015-02-12 02:33:21 -0800
commit3006575f9f09477ac2a72cf2b0a16d911cc09172 (patch)
treec1c995da1c85acd1d53fecefe2204c503904fd82
parentf3bfabe2cea97fd34610cfc6ea94c4177fcef336 (diff)
allow location names to be text, not just an alphanumeric, RT#33310
-rw-r--r--FS/FS/cust_location.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm
index 23dbce909..ad6d706bb 100644
--- a/FS/FS/cust_location.pm
+++ b/FS/FS/cust_location.pm
@@ -322,7 +322,7 @@ sub check {
$self->ut_numbern('locationnum')
|| $self->ut_foreign_keyn('prospectnum', 'prospect_main', 'prospectnum')
|| $self->ut_foreign_keyn('custnum', 'cust_main', 'custnum')
- || $self->ut_alphan('locationname')
+ || $self->ut_textn('locationname')
|| $self->ut_text('address1')
|| $self->ut_textn('address2')
|| $self->ut_text('city')