From 1b18d1fe1dac097d96d135bd3f0f654d75c6a1ae Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Tue, 16 Jan 2024 17:28:28 +0100 Subject: [PATCH] Avoid php warning, fixes #6629 --- server/plugins-available/bind_plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins-available/bind_plugin.inc.php b/server/plugins-available/bind_plugin.inc.php index 452ef1b9ae..ac71f35cc4 100644 --- a/server/plugins-available/bind_plugin.inc.php +++ b/server/plugins-available/bind_plugin.inc.php @@ -402,7 +402,7 @@ class bind_plugin { } //* Restart bind nameserver if update_acl is not empty, otherwise reload it - if($data['new']['update_acl'] != '') { + if(!empty($data['new']['update_acl'])) { $app->services->restartServiceDelayed('bind', 'restart'); } else { $app->services->restartServiceDelayed('bind', 'reload'); -- GitLab