allow location names to be text, not just an alphanumeric, RT#33310
authorIvan Kohler <ivan@freeside.biz>
Thu, 12 Feb 2015 10:33:18 +0000 (02:33 -0800)
committerIvan Kohler <ivan@freeside.biz>
Thu, 12 Feb 2015 10:33:18 +0000 (02:33 -0800)
FS/FS/cust_location.pm

index e5d2e72..a863e5d 100644 (file)
@@ -327,7 +327,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')