From: Stéphane Jacob Date: Sat, 21 Aug 2010 09:36:05 +0000 (+0200) Subject: OOoops X-Git-Tag: xorg/1.0.1~261 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=da0a9c5a07b9922b7743a505201b5c52611e27f2;p=platal.git OOoops Signed-off-by: Stéphane Jacob --- diff --git a/classes/userfilter.php b/classes/userfilter.php index e779261..d3cec24 100644 --- a/classes/userfilter.php +++ b/classes/userfilter.php @@ -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;