aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/plugins-available
diff options
context:
space:
mode:
authorSatoshi <satoshi@gshost.eu>2016-02-11 10:19:08 +0100
committerSatoshi <satoshi@gshost.eu>2016-02-11 10:19:08 +0100
commit88752da9c3c934ff2f71087ba3ad4b0ff0cb3eef (patch)
tree508c6a1828794b7fc98f4fc37c628e903fbe359d /src/server/plugins-available
parent0d2ac5e1f9a1f94b0630bd2199e40ed81d59a71f (diff)
Fix bug with foreach
Diffstat (limited to '')
-rwxr-xr-xsrc/server/plugins-available/nginx_plugin.inc.php2
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'];
}
}