summaryrefslogtreecommitdiffstats
path: root/etc/inc/vslb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vslb.inc')
-rw-r--r--etc/inc/vslb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 23b3319..7a9c758 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -37,7 +37,7 @@ function slbd_configure() {
global $config, $g;
/* no need to go further if we don't have any load balance stuff */
- if (!is_array($config['load_balancer']) || (!is_array($config['load_balancer']['pool']))
+ if ((!is_array($config['load_balancer'])) || (!is_array($config['load_balancer']['pool'])))
return;
$a_vs = &$config['load_balancer']['virtual_server'];
OpenPOWER on IntegriCloud