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:
William Edwards 2024-01-23 16:21:16 +01:00
parent 76d70251bb
commit e5a121f24b

View file

@ -368,6 +368,8 @@ class Comment {
$ret['content'] = $this->content;
$ret['account'] = $this->account;
$ret['modified_at'] = $this->modified_at;
return $ret;
}
}