Skip to content

Commit 3a5aaf2

Browse files
committed
[ms] Fix the account setup handling for multisites with only one site.
1 parent 255a085 commit 3a5aaf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/class-freemius.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17432,7 +17432,7 @@ function setup_network_account(
1743217432
FS_User_Lock::instance()->unlock();
1743317433
}
1743417434

17435-
if ( 1 < count( $installs ) ) {
17435+
if ( 1 < count( $installs ) || fs_is_network_admin() ) {
1743617436
// Only network level opt-in can have more than one install.
1743717437
$is_network_level_opt_in = true;
1743817438
}

0 commit comments

Comments
 (0)