diff --git a/server/plugins-available/bind_plugin.inc.php b/server/plugins-available/bind_plugin.inc.php index 452ef1b9ae62727ca697c65921f1cc4089bc4b9e..ac71f35cc483ea13df703405db0f4b8a796544d3 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');