[freeside-commits] branch FREESIDE_4_BRANCH updated. a9dbe43e46ef78dbb38106863dcfea7cdef73ee9

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


The branch, FREESIDE_4_BRANCH has been updated
       via  a9dbe43e46ef78dbb38106863dcfea7cdef73ee9 (commit)
      from  75485ea22d91bfb1e74f6cf1d8ec6f27a7f24e82 (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 a9dbe43e46ef78dbb38106863dcfea7cdef73ee9
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 23 08:15:21 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