From c683913fc10eb8ea0cb24efb574e5a2440ac38f7 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sun, 21 Feb 2016 20:29:14 +1100 Subject: [PATCH] Change quote marks --- booking.paypal.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/booking.paypal.inc b/booking.paypal.inc index ce8b645..6a570f6 100644 --- a/booking.paypal.inc +++ b/booking.paypal.inc @@ -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."); } }