summaryrefslogtreecommitdiff
path: root/admin_pgv_to_wt.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_pgv_to_wt.php')
-rw-r--r--admin_pgv_to_wt.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin_pgv_to_wt.php b/admin_pgv_to_wt.php
index 340b99055c..f9628a900f 100644
--- a/admin_pgv_to_wt.php
+++ b/admin_pgv_to_wt.php
@@ -144,7 +144,7 @@ if (!$PGV_PATH) {
if (count($pgv_dirs) > 1) {
$html = I18N::translate('PhpGedView might be installed in one of these folders:');
foreach ($pgv_dirs as $pgv_dir) {
- $html .= '<div onclick="$(\'#PGV_PATH\').val(\'' . Filter::escapeHtml($pgv_dir) . '\')">' . Filter::escapeHtml($pgv_dir) . '</div>';
+ $html .= '<div onclick="$(\'#PGV_PATH\').val(\'' . Html::escape($pgv_dir) . '\')">' . Html::escape($pgv_dir) . '</div>';
}
echo Theme::theme()->htmlAlert($html, 'info', true);
@@ -165,7 +165,7 @@ if (!$PGV_PATH) {
name="PGV_PATH"
size="40"
placeholder="<?= I18N::translate('Installation folder') ?>"
- value="<?= count($pgv_dirs) === 1 ? Filter::escapeHtml($pgv_dirs[0]) : '' ?>"
+ value="<?= count($pgv_dirs) === 1 ? Html::escape($pgv_dirs[0]) : '' ?>"
required
>
</div>