summaryrefslogtreecommitdiff
path: root/app/Module/ClippingsCartModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/ClippingsCartModule.php')
-rw-r--r--app/Module/ClippingsCartModule.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php
index 2af66fd8b3..acc43e567f 100644
--- a/app/Module/ClippingsCartModule.php
+++ b/app/Module/ClippingsCartModule.php
@@ -416,8 +416,8 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
<?= I18N::translate('Add the GEDCOM media path to filenames') ?>
</td>
<td class="optionbox">
- <input type="checkbox" name="conv_path" value="<?= Filter::escapeHtml($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) ?>">
- <span dir="auto"><?= Filter::escapeHtml($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) ?></span>
+ <input type="checkbox" name="conv_path" value="<?= Html::escape($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) ?>">
+ <span dir="auto"><?= Html::escape($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) ?></span>
</td>
</tr>
@@ -775,8 +775,8 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
<tr>
<td class="descriptionbox width50 wrap">' . I18N::translate('Add the GEDCOM media path to filenames') . '</td>
<td class="optionbox">
- <input type="checkbox" name="conv_path" value="' . Filter::escapeHtml($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) . '">
- <span dir="auto">' . Filter::escapeHtml($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) . '</span></td>
+ <input type="checkbox" name="conv_path" value="' . Html::escape($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) . '">
+ <span dir="auto">' . Html::escape($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')) . '</span></td>
</tr>
<input type="hidden" name="conv_path" value="' . $clip_ctrl->conv_path . '">