Change quote marks

This commit is contained in:
2016-02-21 20:29:14 +11:00
parent 66d0e8d83d
commit c683913fc1

View File

@@ -62,16 +62,16 @@ function booking_paypal_ipn() {
//retry the attempt to verify the payment 5 times, sleeping in between each attempt
$continue = TRUE;
$i = 0;
$i = 1;
while ($continue && $i < 5)
{
if(!_booking_paypal_ipn_verify($ipn)) {
watchdog('booking_paypal', 'Payment verification did not succeed on attempt $i.');
watchdog('booking_paypal', "Payment verification did not succeed on attempt $i.");
$i++;
sleep(3);
} else {
$continue = FALSE;
watchdog('booking_paypal', 'Payment verification succeeded on attempt $i.');
watchdog('booking_paypal', "Payment verification succeeded on attempt $i.");
}
}