Skip to content

Commit 0160729

Browse files
author
Till Brehm
committed
Merge branch '6629-phpwarning' into 'develop'
Avoid php warning, fixes #6629 Closes #6629 See merge request ispconfig/ispconfig3!1841
2 parents 012fb40 + 1b18d1f commit 0160729

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)