projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a96e9d
)
fix mason_comp via FS::SelfService
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 23 May 2017 15:15:17 +0000
(08:15 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 23 May 2017 15:15:17 +0000
(08:15 -0700)
httemplate/autohandler
patch
|
blob
|
history
diff --git
a/httemplate/autohandler
b/httemplate/autohandler
index
248f14a
..
3cc8e10
100644
(file)
--- 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')
)
{