mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Cannot use object of type RRSet as array
This commit is contained in:
parent
d5ef95e711
commit
1c3e5cfc99
1 changed files with 3 additions and 3 deletions
|
@ -149,9 +149,9 @@ class Zone {
|
|||
|
||||
foreach ($this->rrsets as $rrset) {
|
||||
foreach ($rrset->export_records() as $record) {
|
||||
$record['name'] = $rrset['name'];
|
||||
$record['ttl'] = $rrset['ttl'];
|
||||
$record['type'] = $rrset['type'];
|
||||
$record['name'] = $rrset->name;
|
||||
$record['ttl'] = $rrset->ttl;
|
||||
$record['type'] = $rrset->type;
|
||||
}
|
||||
array_push($ret, $record);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue