diff --git a/main/gradebook/lib/be/category.class.php b/main/gradebook/lib/be/category.class.php index e015b8e143..8a8559d48c 100755 --- a/main/gradebook/lib/be/category.class.php +++ b/main/gradebook/lib/be/category.class.php @@ -1680,7 +1680,13 @@ class Category implements GradebookItem $catId, $userList = array() ) { + $orientation = api_get_configuration_value('certificate_pdf_orientation'); + $params['orientation'] = 'landscape'; + if (!empty($orientation)) { + $params['orientation'] = $orientation; + } + $params['left'] = 0; $params['right'] = 0; $params['top'] = 0;