From fc67246b7f782047c946016d2db91b90c158d038 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Mon, 24 Feb 2014 16:58:44 -0300 Subject: varnish3 - fix xmlrpc sync option --- config/varnish3/varnish.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/varnish3/varnish.inc b/config/varnish3/varnish.inc index 1895d214..2a986710 100644 --- a/config/varnish3/varnish.inc +++ b/config/varnish3/varnish.inc @@ -688,7 +688,7 @@ function varnish_sync_on_changes() { break; case "auto": if (is_array($config['hasync'])){ - $hasync=$config['hasync'][0]; + $hasync=$config['hasync']; $rs[0]['ipaddress']=$hasync['synchronizetoip']; $rs[0]['username']=$hasync['username']; $rs[0]['password']=$hasync['password']; -- cgit v1.2.3