[freeside-commits] branch FREESIDE_3_BRANCH updated. 35e48065dcbf51d721043b27ce54307e5a3bdae7

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


The branch, FREESIDE_3_BRANCH has been updated
       via  35e48065dcbf51d721043b27ce54307e5a3bdae7 (commit)
      from  0edab19755de1aedc34fc6b1bc91c8f6d3e91149 (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 35e48065dcbf51d721043b27ce54307e5a3bdae7
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 23 08:15:22 2017 -0700

    fix mason_comp via FS::SelfService

diff --git a/httemplate/autohandler b/httemplate/autohandler
index b278193..e89444c 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