Skip to content

Commit

Permalink
Bugfix: Format string for bookingoption updated description
Browse files Browse the repository at this point in the history
  • Loading branch information
eynimeni committed Dec 5, 2024
1 parent cce2a69 commit 8b6128f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions classes/output/bookingoption_changes.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,13 @@ public function export_for_template(renderer_base $output) {

$entry['newvalue'] = html_writer::link($link, $link->out());
}
if (isset($entry['newvalue']) && is_string($entry['newvalue'])) {
$entry['newvalue'] = format_string($entry['newvalue']);
}

if (isset($entry['oldvalue']) && is_string($entry['oldvalue'])) {
$entry['oldvalue'] = format_string($entry['oldvalue']);
}
// Add all custom fields here.
$newchangesarray[] = $entry;
}
Expand Down

0 comments on commit 8b6128f

Please sign in to comment.