We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70de23e commit 7e164e9Copy full SHA for 7e164e9
public/lib/classes/output/activity_header.php
@@ -208,11 +208,16 @@ public function export_for_template(renderer_base $output): array {
208
);
209
}
210
211
+ $additionalitems = '';
212
+ if (!$this->hideoverflow && !is_null($this->additionalnavitems)) {
213
+ $additionalitems = $this->additionalnavitems->export_for_template($output);
214
+ }
215
+
216
return [
217
'title' => $this->title,
218
'description' => $this->description,
219
'completion' => $activityinfo,
- 'additional_items' => $this->hideoverflow ? '' : $this->additionalnavitems,
220
+ 'additional_items' => $additionalitems,
221
];
222
223
0 commit comments