[freeside-commits] branch master updated. fca522dde5a5edfc3eb78d4c58a7e6519decb5de

Ivan ivan at 420.am
Tue May 23 08:15:21 PDT 2017


The branch, master has been updated
       via  fca522dde5a5edfc3eb78d4c58a7e6519decb5de (commit)
      from  7a96e9d189ef7e5c0f200a7abd5fe948e890f151 (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 fca522dde5a5edfc3eb78d4c58a7e6519decb5de
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 23 08:15:17 2017 -0700

    fix mason_comp via FS::SelfService

diff --git a/httemplate/autohandler b/httemplate/autohandler
index 248f14a..3cc8e10 100644
--- a/httemplate/autohandler
+++ b/httemplate/autohandler
@@ -12,7 +12,7 @@ if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
 
   my $profile = '';
 
-  if ( lc($r->content_type) =~ /^text\/html/
+  if ( $r && lc($r->content_type) =~ /^text\/html/
        && $FS::CurrentUser::CurrentUser->option('show_db_profile')
      )
   {

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

Summary of changes:
 httemplate/autohandler |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list