From: Florent Bruneau Date: Thu, 16 Sep 2010 11:54:40 +0000 (+0200) Subject: Fix syntax error. X-Git-Tag: xorg/1.0.1~195 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6dab26583ba6088bd66966c5840385cfe57ae7ff;p=platal.git Fix syntax error. Signed-off-by: Florent Bruneau --- diff --git a/bin/cron/phones.check.php b/bin/cron/phones.check.php index c4fbd77..92707ee 100755 --- a/bin/cron/phones.check.php +++ b/bin/cron/phones.check.php @@ -75,7 +75,7 @@ foreach ($prefixes as $i => $prefix) { $values = ''; $i = 0; while ($phone = $res->next()) { - $phone = new Phone('display' => $phone['display_tel']); + $phone = new Phone(array('display' => $phone['display_tel'])); $phone->format(array('format' => $format, 'phoneprf' => $prefix)); if ($values != '') { $values .= ",\n";