Fix syntax error.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 31 Jan 2011 19:27:44 +0000 (20:27 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 31 Jan 2011 19:27:44 +0000 (20:27 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/payment/money/paypal.inc.php

index 71de323..876913d 100644 (file)
@@ -66,7 +66,7 @@ class PayPal
             'email'      => $user->bestEmail()
         );
 
-        if ($user->hasProfile() {
+        if ($user->hasProfile()) {
             $res = XDB::query("SELECT  pa.text, gl.name AS city, pa.postalCode AS zip, pa.countryId AS country,
                                        IF(pp1.display_tel != '', pp1.display_tel, pp2.display_tel) AS night_phone_b
                                  FROM  profile_addresses AS pa