From: mudrd8mz Date: Mon, 20 Jul 2009 18:28:24 +0000 (+0000) Subject: MDL-19877 fix: diplay used font family of the test page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=65b6adb15048c9379c4e441ab2ca612b60ba17a3;p=moodle.git MDL-19877 fix: diplay used font family of the test page --- diff --git a/lib/simpletest/pdflibtestpage.php b/lib/simpletest/pdflibtestpage.php index 24d1659f36..476a84d28d 100644 --- a/lib/simpletest/pdflibtestpage.php +++ b/lib/simpletest/pdflibtestpage.php @@ -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