mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-19877 fix: diplay used font family of the test page
This commit is contained in:
parent
f3eeee288c
commit
65b6adb150
@ -31,7 +31,7 @@ $context = get_context_instance(CONTEXT_SYSTEM);
|
||||
require_capability('moodle/site:config', $context);
|
||||
|
||||
$getpdf = optional_param('getpdf', 0, PARAM_INT);
|
||||
$fontfamily = ''; // use default
|
||||
$fontfamily = optional_param('fontfamily', PDF_DEFAULT_FONT, PARAM_ALPHA); // to be configurable
|
||||
|
||||
/**
|
||||
* Extend the standard PDF class to get access to some protected values we want to display
|
||||
|
Loading…
x
Reference in New Issue
Block a user