Fix preg_match fail

This commit is contained in:
2014-12-01 23:06:39 +11:00
parent 57a7704e62
commit 51bc775664
13 changed files with 38 additions and 38 deletions

View File

@@ -32,7 +32,7 @@ function _booking_paypal_ipn_verify($vars = array()) {
curl_close($ch);
ob_end_clean();
if (('/VERIFIED/i', $info)) {
if (preg_match('/VERIFIED/i', $info)) {
watchdog('booking', 'Payment verification completed successfully: @info', array('@info' => $info));
return TRUE;
}