Skip to content

Commit 877ccec

Browse files
committed
Check against boolean value instead of string
1 parent df95936 commit 877ccec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/class-nginx-helper-admin.php

+1-1
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)