summaryrefslogtreecommitdiff
path: root/modules_v3/individuals/module.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-08-29 22:35:00 +0100
committerGreg Roach <fisharebest@gmail.com>2013-08-29 22:35:00 +0100
commitdef8f50065a593a06a051ceb58b7686884a8ce58 (patch)
treedf7cb13b850c7f6332d9c40bc9daf560d0b19586 /modules_v3/individuals/module.php
parentcd3cb363db375e0e9b7d5214b33e382f77aa9400 (diff)
downloadwebtrees-def8f50065a593a06a051ceb58b7686884a8ce58.tar.gz
webtrees-def8f50065a593a06a051ceb58b7686884a8ce58.tar.bz2
webtrees-def8f50065a593a06a051ceb58b7686884a8ce58.zip
New filter/validation functions for GET/POST variables
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