projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
search svc_acct by service def
[freeside.git]
/
httemplate
/
autohandler
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')
)
{