mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Add missing return to Comment::export
Without this return, RRSet::exportComments returns an array of `null`, which causes PowerDNS to return `Key 'content' not present or not a String`.
This commit is contained in:
parent
76d70251bb
commit
e5a121f24b
1 changed files with 2 additions and 0 deletions
|
@ -368,6 +368,8 @@ class Comment {
|
||||||
$ret['content'] = $this->content;
|
$ret['content'] = $this->content;
|
||||||
$ret['account'] = $this->account;
|
$ret['account'] = $this->account;
|
||||||
$ret['modified_at'] = $this->modified_at;
|
$ret['modified_at'] = $this->modified_at;
|
||||||
|
|
||||||
|
return $ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue