summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 7d935db48..af670e90f 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -398,6 +398,8 @@ sub logout_request {
}
sub markdown {
+ return if !Bugzilla->feature('markdown');
+
require Bugzilla::Markdown;
return $_[0]->request_cache->{markdown} ||= Bugzilla::Markdown->new();
}