projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor svc_acct and svc_broadband search into svc_Common, RT#21054
[freeside.git]
/
FS
/
FS
/
svc_Tower_Mixin.pm
diff --git
a/FS/FS/svc_Tower_Mixin.pm
b/FS/FS/svc_Tower_Mixin.pm
index
6adbc6f
..
8508053
100644
(file)
--- a/
FS/FS/svc_Tower_Mixin.pm
+++ b/
FS/FS/svc_Tower_Mixin.pm
@@
-27,10
+27,8
@@
towernum or sectornum can also contain 'none' to allow null values.
=cut
sub tower_sector_sql {
- my $class = shift;
- my $params = shift;
- return '' unless keys %$params;
- my $where = '';
+ my( $class, $params ) = @_;
+ return () unless keys %$params;
my @where;
for my $field (qw(towernum sectornum)) {