[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 52215665b8be0f84b119234d8a46c03a9c881a40

Ivan ivan at 420.am
Mon Nov 12 04:57:35 PST 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  52215665b8be0f84b119234d8a46c03a9c881a40 (commit)
      from  e297233dcb54d85fc9b725dfdb4760f85df7d860 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 52215665b8be0f84b119234d8a46c03a9c881a40
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Nov 12 04:57:34 2012 -0800

    fix self-service if RT isn't used

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index bb5b47e..a75b81c 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 { 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list