Skip to content

Commit 1b18d1f

Browse files
committed
Avoid php warning, fixes #6629
1 parent 012fb40 commit 1b18d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function soa_update($event_name, $data) {
402402
}
403403

404404
//* Restart bind nameserver if update_acl is not empty, otherwise reload it
405-
if($data['new']['update_acl'] != '') {
405+
if(!empty($data['new']['update_acl'])) {
406406
$app->services->restartServiceDelayed('bind', 'restart');
407407
} else {
408408
$app->services->restartServiceDelayed('bind', 'reload');

0 commit comments

Comments
 (0)