summaryrefslogtreecommitdiff
path: root/FS/FS/TicketSystem/RT_Internal.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/TicketSystem/RT_Internal.pm')
-rw-r--r--FS/FS/TicketSystem/RT_Internal.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm
index 6755415..31a6715 100644
--- a/FS/FS/TicketSystem/RT_Internal.pm
+++ b/FS/FS/TicketSystem/RT_Internal.pm
@@ -172,7 +172,8 @@ sub customer_tickets {
}
sub num_customer_tickets {
- my $Tickets = _customer_tickets_search(@_);
+ my ( $self, $custnum, $priority ) = @_;
+ my $Tickets = $self->_customer_tickets_search($custnum, 0, $priority);
return $Tickets->CountAll;
}