From: Florent Bruneau Date: Mon, 29 Dec 2008 15:11:25 +0000 (+0100) Subject: Fix syntax error. X-Git-Tag: xorg/1.0.0~332^2~344^2~54 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=09e1667a733566429a05adff5980e04e23ed8d88;p=platal.git Fix syntax error. Signed-off-by: Florent Bruneau --- diff --git a/upgrade/newdirectory-0.0.1/phones.php b/upgrade/newdirectory-0.0.1/phones.php index 63018a0..274c407 100755 --- a/upgrade/newdirectory-0.0.1/phones.php +++ b/upgrade/newdirectory-0.0.1/phones.php @@ -172,7 +172,7 @@ function guess_phone_type($str_type, $phone) } } - if ((strpos($str_type, 'mob') !== false) || (strpos($str_type, 'cell') !== false) || (strpos($str_type, 'port') !== false)) || (strpos($str_type, 'ptb') !== false) { + if ((strpos($str_type, 'mob') !== false) || (strpos($str_type, 'cell') !== false) || (strpos($str_type, 'port') !== false) || (strpos($str_type, 'ptb') !== false)) { if (substr($phone, 3) == '336' || substr($phone, 2) != '33') { return 'mobile'; //for France check if number is a mobile one } else {