diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-11-12 04:57:34 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-11-12 04:57:34 -0800 |
| commit | 52215665b8be0f84b119234d8a46c03a9c881a40 (patch) | |
| tree | ee0dce62b318b21db28c783e11334a6736de3074 /FS | |
| parent | e297233dcb54d85fc9b725dfdb4760f85df7d860 (diff) | |
fix self-service if RT isn't used
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index bb5b47e5b..a75b81c33 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -397,7 +397,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 { |
