Skip to content

Commit 9cd2c2a

Browse files
authored
Merge pull request #189 from ChrisHardie/fix/issue-188-subdomain-install
Check against boolean value instead of string
2 parents df95936 + 877ccec commit 9cd2c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/class-nginx-helper-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public function get_map() {
499499

500500
foreach ( $rt_all_blogs as $blog ) {
501501

502-
if ( 'yes' === SUBDOMAIN_INSTALL ) {
502+
if ( true === SUBDOMAIN_INSTALL ) {
503503
$rt_nginx_map_array[ $blog->domain ] = $blog->blog_id;
504504
} else {
505505

0 commit comments

Comments
 (0)