Fixes call to phone number.
authorStéphane Jacob <sj@m4x.org>
Fri, 22 Apr 2011 09:47:31 +0000 (11:47 +0200)
committerStéphane Jacob <sj@m4x.org>
Fri, 22 Apr 2011 11:39:28 +0000 (13:39 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/userfilter/conditions.inc.php

index c689f0b..e5c347b 100644 (file)
@@ -1428,7 +1428,7 @@ class UFC_Phone extends UserFilterCondition
     {
         $phone = new Phone(array('display' => $number));
         $phone->format();
-        $this->number = $phone->search();
+        $this->number = $phone->search;
         $this->num_type = $num_type;
         $this->phone_type = $phone_type;
     }