From fcdba74c14f61a92150f9cb86965613deb91035c Mon Sep 17 00:00:00 2001 From: Mark Schouten <mark@tuxis.nl> Date: Wed, 3 Aug 2016 13:37:22 +0200 Subject: [PATCH] Also export keyinfo --- includes/class/Zone.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/class/Zone.php b/includes/class/Zone.php index f2bccab..0791902 100644 --- a/includes/class/Zone.php +++ b/includes/class/Zone.php @@ -143,6 +143,9 @@ class Zone { $ret = Array(); $ret['account'] = $this->account; $ret['dnssec'] = $this->dnssec; + if ($this->dnssec) { + $ret['keyinfo'] = $this->keyinfo; + } $ret['id'] = $this->id; $ret['kind'] = $this->kind; $ret['masters'] = $this->masters;