diff options
Diffstat (limited to 'httemplate/autohandler')
-rw-r--r-- | httemplate/autohandler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/autohandler b/httemplate/autohandler index ae04d423f..d52b791a7 100644 --- a/httemplate/autohandler +++ b/httemplate/autohandler @@ -7,7 +7,7 @@ my $profile = ''; if ( UNIVERSAL::can(dbh, 'sprintProfile') ) { - if ( lc($r->content_type) eq 'text/html' + if ( lc($r->content_type) =~ /^text\/html/ && $FS::CurrentUser::CurrentUser->option('show_db_profile') ) { |