From 88752da9c3c934ff2f71087ba3ad4b0ff0cb3eef Mon Sep 17 00:00:00 2001 From: Satoshi Date: Thu, 11 Feb 2016 10:19:08 +0100 Subject: Fix bug with foreach --- src/server/plugins-available/nginx_plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/plugins-available/nginx_plugin.inc.php b/src/server/plugins-available/nginx_plugin.inc.php index b451106..73dc3b3 100755 --- a/src/server/plugins-available/nginx_plugin.inc.php +++ b/src/server/plugins-available/nginx_plugin.inc.php @@ -1152,7 +1152,7 @@ class nginx_plugin { $temp_domains[] = $aliasdomain['subdomain'] . "." . $aliasdomain['domain']; } - foreach($s as $sub_prefixes) { + foreach($sub_prefixes as $s) { $temp_domains[] = $s . $aliasdomain['domain']; } } -- cgit v1.2.3