[freeside-commits] branch master updated. c444794974ce5f9512d5f323805db58176f26ad3

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


The branch, master has been updated
       via  c444794974ce5f9512d5f323805db58176f26ad3 (commit)
      from  f9060f8300336b1fc792602a56308e883c27f3aa (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 c444794974ce5f9512d5f323805db58176f26ad3
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Nov 12 04:57:25 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 3364b97..4477611 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 { 

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

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




More information about the freeside-commits mailing list