summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-11-12 04:57:25 -0800
committerIvan Kohler <ivan@freeside.biz>2012-11-12 04:57:25 -0800
commitc444794974ce5f9512d5f323805db58176f26ad3 (patch)
tree3c8f7cb9606fedab08069ebde73cd20abdae9bd3
parentf9060f8300336b1fc792602a56308e883c27f3aa (diff)
fix self-service if RT isn't used
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 3364b97df..4477611d0 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -396,7 +396,7 @@ sub customer_info {
my @tickets = $cust_main->tickets;
# unavoidable false laziness w/ httemplate/view/cust_main/tickets.html
- if ( FS::TicketSystem->selfservice_priority ) {
+ if ( $FS::TicketSystem::system && FS::TicketSystem->selfservice_priority ) {
my $dir = $conf->exists('ticket_system-priority_reverse') ? -1 : 1;
$return{tickets} = [
sort {