diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-01-26 22:22:11 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-26 22:22:11 +0000 |
| commit | 7f0901d021fb18e62653d0b86a46b278803712a2 (patch) | |
| tree | 833086ca620db86ae2bb578ff1d7f55d987ef4fd /includes | |
| parent | a0e64e2ac06f15da6eb701c4faf5a935ba199b30 (diff) | |
| download | webtrees-7f0901d021fb18e62653d0b86a46b278803712a2.tar.gz webtrees-7f0901d021fb18e62653d0b86a46b278803712a2.tar.bz2 webtrees-7f0901d021fb18e62653d0b86a46b278803712a2.zip | |
HTML validation and tidy up
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/session.php b/includes/session.php index 4327903701..9fcb1d8824 100644 --- a/includes/session.php +++ b/includes/session.php @@ -520,7 +520,7 @@ if ($WT_TREE) { define('WT_GEDCOM', $WT_TREE->tree_name); define('WT_GED_ID', $WT_TREE->tree_id); define('WT_GEDURL', $WT_TREE->tree_name_url); - define('WT_TREE_TITLE', $WT_TREE->tree_title_html); + define('WT_TREE_TITLE', WT_Filter::escapeHtml($WT_TREE->tree_title)); define('WT_IMPORTED', $WT_TREE->imported); define('WT_USER_GEDCOM_ADMIN', Auth::isManager($WT_TREE)); define('WT_USER_CAN_ACCEPT', Auth::isModerator($WT_TREE)); |
