We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5840052 commit 1f07ad8Copy full SHA for 1f07ad8
SOURCE/httpd.private/app/models/app.model.php
@@ -380,7 +380,7 @@ public static function checkCloudFlare(){
380
return 0;
381
}else{
382
$name_check = 0;
383
- for($i = 0; $i < count($d); $i++){
+ for($i = 0; $i < count($d['result']); $i++){
384
if($d['result'][$i]['name'] == $dns_name && $d['result'][$i]['type'] == 'A'){
385
$newurl = 'https://api.cloudflare.com/client/v4/zones/'.$zone_id.'/dns_records/'.$d['result'][$i]['id'];
386
$data = array(
@@ -532,4 +532,4 @@ public static function change_language($language){
532
}
533
$db->close();
534
535
-}
+}
0 commit comments