SMS: Should fix validation codes

This commit is contained in:
nikolark committed 2015-09-09 21:21:45 +02:00
1 parent 4107b553ac
commit 09c90cb079
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}