aboutsummaryrefslogtreecommitdiff
path: root/lib/models/Courseware/StructuralElement.php
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2022-05-05 23:44:49 +0200
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2022-05-05 23:44:49 +0200
commit8d89ba3ad40b16c2a3bf453fd74b2f179aec968a (patch)
treeffa82343e7bc50ea7e64847ae4692fd249c6975c /lib/models/Courseware/StructuralElement.php
parentf0a96604aa265649b067d06536f0f9e7ff7f56ed (diff)
required parameter $with_children follows optional parameter, re #712
Diffstat (limited to 'lib/models/Courseware/StructuralElement.php')
-rwxr-xr-xlib/models/Courseware/StructuralElement.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/Courseware/StructuralElement.php b/lib/models/Courseware/StructuralElement.php
index ee5e92a..69d9d22 100755
--- a/lib/models/Courseware/StructuralElement.php
+++ b/lib/models/Courseware/StructuralElement.php
@@ -797,7 +797,7 @@ SQL;
return $doc;
}
- private function getElementPdfExport(string $parent_name = '', bool $with_children, $user)
+ private function getElementPdfExport(string $parent_name, bool $with_children, $user)
{
if (!$this->canRead($user)) {
return '';