diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-02-07 21:09:11 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-02-07 21:09:11 -0800 |
commit | b808053966fd3c43edefa1b7c4b93cbeb7cf546e (patch) | |
tree | 871fc6df930b7939d72b9ad975453179273cd418 /FS/FS/contact.pm | |
parent | d14c7526763013113dcddd4ec60c383a5f1c5473 (diff) |
fix leading and trailing spaces in customer,, contact, prospect names and companies, RT#19860
Diffstat (limited to 'FS/FS/contact.pm')
-rw-r--r-- | FS/FS/contact.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/contact.pm b/FS/FS/contact.pm index f84af42..8fcd724 100644 --- a/FS/FS/contact.pm +++ b/FS/FS/contact.pm @@ -326,8 +326,8 @@ sub check { || $self->ut_foreign_keyn('custnum', 'cust_main', 'custnum') || $self->ut_foreign_keyn('locationnum', 'cust_location', 'locationnum') || $self->ut_foreign_keyn('classnum', 'contact_class', 'classnum') - || $self->ut_textn('last') - || $self->ut_textn('first') + || $self->ut_namen('last') + || $self->ut_namen('first') || $self->ut_textn('title') || $self->ut_textn('comment') || $self->ut_enum('disabled', [ '', 'Y' ]) |