Skip to content

Commit d4a9ee2

Browse files
authored
Update settings.php
1 parent 29c4e01 commit d4a9ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/sites/default/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@
921921
// Lookup site based on URI.
922922
$conn = new PDO("mysql:host=$database_hostname;dbname=$database", $username, $password);
923923

924-
$sql = "SELECT * FROM site__site_uri s LEFT JOIN operations_site os ON s.entity_id = os.sid WHERE site_uri_value IN (:site_url, :site_url_https) AND s.bundle = 'hosted_drupal_site' ORDER BY entity_id DESC";
924+
$sql = "SELECT * FROM site__site_uri s LEFT JOIN operations_site os ON s.entity_id = os.sid WHERE site_uri_value IN (:site_url, :site_url_https) AND s.bundle = 'hosted_site' ORDER BY entity_id DESC";
925925

926926
$query = $conn->prepare($sql, []);
927927
$query->execute([

0 commit comments

Comments
 (0)