diff options
Diffstat (limited to 'admin_pgv_to_wt.php')
| -rw-r--r-- | admin_pgv_to_wt.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin_pgv_to_wt.php b/admin_pgv_to_wt.php index c2a3dd73d9..bb95468ab8 100644 --- a/admin_pgv_to_wt.php +++ b/admin_pgv_to_wt.php @@ -146,7 +146,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(\'' . Html::escape($pgv_dir) . '\')">' . Html::escape($pgv_dir) . '</div>'; + $html .= '<div onclick="$(\'#PGV_PATH\').val(\'' . e($pgv_dir) . '\')">' . e($pgv_dir) . '</div>'; } echo Theme::theme()->htmlAlert($html, 'info', true); @@ -167,7 +167,7 @@ if (!$PGV_PATH) { name="PGV_PATH" size="40" placeholder="<?= I18N::translate('Installation folder') ?>" - value="<?= count($pgv_dirs) === 1 ? Html::escape($pgv_dirs[0]) : '' ?>" + value="<?= count($pgv_dirs) === 1 ? e($pgv_dirs[0]) : '' ?>" required > </div> |
