aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/sites.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index f126e4e4e..8fca0f334 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -554,7 +554,7 @@
{
$guid = (int)$guid;
- $site = get_entity($site);
+ $site = get_entity($guid);
if ($site instanceof ElggSite) {
$breakdown = parse_url($site->url);
return $breakdown['host'];