aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish3
diff options
context:
space:
mode:
Diffstat (limited to 'config/varnish3')
-rw-r--r--config/varnish3/varnish.inc2
1 files changed, 1 insertions, 1 deletions
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'];