From 65b6adb15048c9379c4e441ab2ca612b60ba17a3 Mon Sep 17 00:00:00 2001 From: mudrd8mz Date: Mon, 20 Jul 2009 18:28:24 +0000 Subject: [PATCH] MDL-19877 fix: diplay used font family of the test page --- lib/simpletest/pdflibtestpage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5