[freeside-commits] branch FREESIDE_3_BRANCH updated. 9c00bcb663c6b868c3da83af917163db58c73b93
Ivan Kohler
ivan at freeside.biz
Sun Oct 28 15:18:01 PDT 2018
The branch, FREESIDE_3_BRANCH has been updated
via 9c00bcb663c6b868c3da83af917163db58c73b93 (commit)
from 5acdbc586f8d716b1c8a8fd4ead3d73af54021fd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9c00bcb663c6b868c3da83af917163db58c73b93
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Oct 28 15:17:54 2018 -0700
config for svc_hardware dup checking, RT#81534
diff --git a/FS/FS/svc_hardware.pm b/FS/FS/svc_hardware.pm
index 012078e21..cbf3ddfa9 100644
--- a/FS/FS/svc_hardware.pm
+++ b/FS/FS/svc_hardware.pm
@@ -238,9 +238,9 @@ sub _check_duplicate {
}
}
- if ( $self->serialnum ) {
+ if ( $self->serial ) {
my @dup_serial;
- @dup_serial = $self->find_duplicates('global', 'typenum', 'serialnum');
+ @dup_serial = $self->find_duplicates('global', 'typenum', 'serial');
if ( @dup_serial ) {
return "Serial number in use (svcnum ".$dup_serial[0]->svcnum.")";
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/svc_hardware.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list