diff --git a/src/Model/Subsite.php b/src/Model/Subsite.php index 229604dc..89287651 100644 --- a/src/Model/Subsite.php +++ b/src/Model/Subsite.php @@ -276,7 +276,7 @@ public static function getSubsiteIDForDomain($host = null, $checkPermissions = t /** @skipUpgrade */ $domainTableName = $schema->tableName(SubsiteDomain::class); - if (!in_array($domainTableName, DB::table_list())) { + if (!in_array(strtolower($domainTableName), array_map("strtolower", DB::table_list())) ) { // case sensitive table names // Table hasn't been created yet. Might be a dev/build, skip. return 0; }