From 02f776a85144c7335a4ef6c058542e37b506fcc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=2E=20T=C3=A4ffner?= <darkalex@firesplash.de> Date: Fri, 22 Jan 2016 11:22:30 +0100 Subject: [PATCH] syntax fixes --- server/plugins-available/bind_plugin.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/plugins-available/bind_plugin.inc.php b/server/plugins-available/bind_plugin.inc.php index 1fceb34d2c..01332c7947 100644 --- a/server/plugins-available/bind_plugin.inc.php +++ b/server/plugins-available/bind_plugin.inc.php @@ -99,7 +99,7 @@ class bind_plugin { //* Verify that we do not already have keys (overwriting-protection) //TODO : change this when distribution information has been integrated into server record if (file_exists($dns_config['bind_zonefiles_dir'].'/dsset-'.$data['new']['origin'].'.')) { - return $this->soa_dnssec_update(&$data); + return $this->soa_dnssec_update($data); } //Do some magic... @@ -109,7 +109,7 @@ class bind_plugin { $dnssecdata = "DS-Records:\n\r".file_get_contents($dns_config['bind_zonefiles_dir'].'/dsset-'.$data['new']['origin'].'.'); opendir($dns_config['bind_zonefiles_dir']); - $dnssecdata .= "\n\r------------------------------------\n\r\n\rDNSKEY-Records:\n\r" + $dnssecdata .= "\n\r------------------------------------\n\r\n\rDNSKEY-Records:\n\r"; foreach (glob('K'.$data['new']['origin'].'*.key') as $keyfile) { $dnssecdata .= file_get_contents($keyfile)."\n\r\n\r"; } -- GitLab