Skip to content

Commit 01be2e6

Browse files
author
A. Täffner
committed
syntax fixes
1 parent c7abe26 commit 01be2e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function soa_dnssec_create(&$data) {
9999
//* Verify that we do not already have keys (overwriting-protection)
100100
//TODO : change this when distribution information has been integrated into server record
101101
if (file_exists($dns_config['bind_zonefiles_dir'].'/dsset-'.$data['new']['origin'].'.')) {
102-
return $this->soa_dnssec_update(&$data);
102+
return $this->soa_dnssec_update($data);
103103
}
104104

105105
//Do some magic...
@@ -109,7 +109,7 @@ function soa_dnssec_create(&$data) {
109109

110110
$dnssecdata = "DS-Records:\n\r".file_get_contents($dns_config['bind_zonefiles_dir'].'/dsset-'.$data['new']['origin'].'.');
111111
opendir($dns_config['bind_zonefiles_dir']);
112-
$dnssecdata .= "\n\r------------------------------------\n\r\n\rDNSKEY-Records:\n\r"
112+
$dnssecdata .= "\n\r------------------------------------\n\r\n\rDNSKEY-Records:\n\r";
113113
foreach (glob('K'.$data['new']['origin'].'*.key') as $keyfile) {
114114
$dnssecdata .= file_get_contents($keyfile)."\n\r\n\r";
115115
}

0 commit comments

Comments
 (0)