From d94e5f57acd1954460c37812279b3c2e2eb830da Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 05:52:23 -0500 Subject: [PATCH] correct constructor for PeopleSearchResults darcs-hash:20081120105223-84dde-d4b44f20e9bd0e3ce96e6834e04ad05cb451ba6a.gz --- actions/peoplesearch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php index 985d5fae53..6b03169a02 100644 --- a/actions/peoplesearch.php +++ b/actions/peoplesearch.php @@ -75,7 +75,8 @@ class PeopleSearchResults extends ProfileList { function __construct($profile, $terms) { parent::__construct($profile); - $this->terms = array_map('preg_quote', array_map('htmlspecialchars', $this->terms)); + $this->terms = array_map('preg_quote', + array_map('htmlspecialchars', $terms)); $this->pattern = '/('.implode('|',$terms).')/i'; } -- 2.39.5