diff options
| author | Greg Roach <fisharebest@gmail.com> | 2018-01-06 13:39:30 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-01-06 13:39:30 +0000 |
| commit | d53324c994737e50e57b9e0bc691b4f742b400b2 (patch) | |
| tree | 4e5ebaa7ac98f604f11f5f6b2da53994c79615ba /admin_pgv_to_wt.php | |
| parent | b1f1e4ef9803ff38b1a05784d23abe6119b8d697 (diff) | |
| download | webtrees-d53324c994737e50e57b9e0bc691b4f742b400b2.tar.gz webtrees-d53324c994737e50e57b9e0bc691b4f742b400b2.tar.bz2 webtrees-d53324c994737e50e57b9e0bc691b4f742b400b2.zip | |
Use e() helper function
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> |
