mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Not everyone runs bleeding-edge php
This commit is contained in:
parent
c4ece1f052
commit
b035bfd52a
1 changed files with 2 additions and 1 deletions
|
@ -551,7 +551,8 @@ case "delete":
|
|||
case "listrecords":
|
||||
$zone = get_zone_by_url(isset($_GET['zoneurl']) ? $_GET['zoneurl'] : '');
|
||||
|
||||
$records = api_request($zone['url'])['records'];
|
||||
$a = api_request($zone['url']);
|
||||
$records = $a['records'];
|
||||
foreach ($records as &$record) {
|
||||
$record['id'] = json_encode($record);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue