diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-20 05:52:23 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-20 05:52:23 -0500 |
commit | d94e5f57acd1954460c37812279b3c2e2eb830da (patch) | |
tree | 202bc48ea290ed03c5a8ed57af25fd77ba47db1a | |
parent | d1361c6e271d21f0605cd2d23d47477c4d249886 (diff) |
correct constructor for PeopleSearchResults
darcs-hash:20081120105223-84dde-d4b44f20e9bd0e3ce96e6834e04ad05cb451ba6a.gz
-rw-r--r-- | actions/peoplesearch.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php index 985d5fae5..6b03169a0 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'; } |