OOoops
authorStéphane Jacob <sj@m4x.org>
Sat, 21 Aug 2010 09:36:05 +0000 (11:36 +0200)
committerStéphane Jacob <sj@m4x.org>
Sat, 21 Aug 2010 09:36:05 +0000 (11:36 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/userfilter.php

index e779261..d3cec24 100644 (file)
@@ -1080,7 +1080,7 @@ class UFC_Phone implements UserFilterCondition
 
     public function __construct($number, $num_type = self::NUM_ANY, $phone_type = self::PHONE_ANY)
     {
-        $phone = new Phone('display' => $number);
+        $phone = new Phone(array('display' => $number));
         $phone->format();
         $this->number = $phone->search();
         $this->num_type = $num_type;