summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 67554151f..31a6715d0 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;
}