summaryrefslogtreecommitdiff
path: root/indilist.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-09 21:15:50 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-09 21:15:50 +0000
commitd4e14ac4bcfe18c20cedf155f0f7f1dc7f2cf3ce (patch)
treed29915aba620a41135c2ee29a941f3b6f8bf4421 /indilist.php
parent705c025929baa4a0a63851a995d16d3dec184d84 (diff)
downloadwebtrees-d4e14ac4bcfe18c20cedf155f0f7f1dc7f2cf3ce.tar.gz
webtrees-d4e14ac4bcfe18c20cedf155f0f7f1dc7f2cf3ce.tar.bz2
webtrees-d4e14ac4bcfe18c20cedf155f0f7f1dc7f2cf3ce.zip
Only fetch gedcom settings from database when actually needed
Diffstat (limited to 'indilist.php')
-rw-r--r--indilist.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/indilist.php b/indilist.php
index 8a3dbc3e17..67294b6041 100644
--- a/indilist.php
+++ b/indilist.php
@@ -49,6 +49,8 @@ define('WT_SCRIPT_NAME', 'indilist.php');
require './includes/session.php';
require_once WT_ROOT.'includes/functions/functions_print_lists.php';
+$SUBLIST_TRIGGER_I=get_gedcom_setting(WT_GED_ID, 'SUBLIST_TRIGGER_I');
+
// We show three different lists:
$alpha =safe_GET('alpha'); // All surnames beginning with this letter where "@"=unknown and ","=none
$surname =safe_GET('surname', '[^<>&%{};]*'); // All indis with this surname. NB - allow ' and "