Skip to content

Commit

Permalink
Merge 7e728a1 into 032ea73
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsekaean committed Jun 1, 2018
2 parents 032ea73 + 7e728a1 commit 36f7b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Subsite.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit 36f7b3f

Please sign in to comment.