From 09c90cb07925fbe244ab99f0509609f15f616c78 Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Wed, 9 Sep 2015 21:21:45 +0200 Subject: [PATCH] SMS: Should fix validation codes --- snapporder/lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapporder/lib/functions.php b/snapporder/lib/functions.php index 69c3bab..cbcd07d 100644 --- a/snapporder/lib/functions.php +++ b/snapporder/lib/functions.php @@ -718,7 +718,7 @@ function get_purchase_date_tekstmelding($phone, $activation_code) { $status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); - if($status_code !== 200) { + if($status_code !== 200 || $result === '') { return false; }