summaryrefslogtreecommitdiff
path: root/modules_v3/individuals/module.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules_v3/individuals/module.php')
-rw-r--r--modules_v3/individuals/module.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules_v3/individuals/module.php b/modules_v3/individuals/module.php
index c6f2950916..09caef3268 100644
--- a/modules_v3/individuals/module.php
+++ b/modules_v3/individuals/module.php
@@ -64,9 +64,9 @@ class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar {
// Implement WT_Module_Sidebar
public function getSidebarAjaxContent() {
- $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 "
- $search =safe_GET('search');
+ $alpha = WT_Filter::get('alpha'); // All surnames beginning with this letter where "@"=unknown and ","=none
+ $surname = WT_Filter::get('surname'); // All indis with this surname.
+ $search = WT_Filter::get('search');
if ($search) {
return $this->search($search);
@@ -230,4 +230,4 @@ class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar {
$out .= '</ul>';
return $out;
}
-}
+} \ No newline at end of file