diff options
author | Satoshi <satoshi@gshost.eu> | 2016-02-11 10:19:08 +0100 |
---|---|---|
committer | Satoshi <satoshi@gshost.eu> | 2016-02-11 10:19:08 +0100 |
commit | 88752da9c3c934ff2f71087ba3ad4b0ff0cb3eef (patch) | |
tree | 508c6a1828794b7fc98f4fc37c628e903fbe359d | |
parent | 0d2ac5e1f9a1f94b0630bd2199e40ed81d59a71f (diff) |
Fix bug with foreach
Diffstat (limited to '')
-rwxr-xr-x | src/server/plugins-available/nginx_plugin.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; } } |