diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-02-27 01:50:04 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-02-27 01:50:04 -0800 |
commit | efa799391aeba085b65145428cab1cf1074d3f6d (patch) | |
tree | c417948eb48c4f2023c0a99e98da553e9e25010b /FS/FS/svc_Tower_Mixin.pm | |
parent | 3d5b5f472b76999daacc646f8d45dc42aba48bfd (diff) |
refactor svc_acct and svc_broadband search into svc_Common, RT#21054
Diffstat (limited to 'FS/FS/svc_Tower_Mixin.pm')
-rw-r--r-- | FS/FS/svc_Tower_Mixin.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/FS/FS/svc_Tower_Mixin.pm b/FS/FS/svc_Tower_Mixin.pm index 6adbc6f5e..850805357 100644 --- 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)) { |