aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sites.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 10:14:45 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 10:14:45 +0000
commit80e56eb63923b56315b4c3fa2f69301e017155d1 (patch)
treeaba68daf0e8cfbc65d02c2d9c02aba246c380b78 /engine/lib/sites.php
parent498e811cbd8d454f21b97c1fcab6dd32862b0cee (diff)
downloadelgg-80e56eb63923b56315b4c3fa2f69301e017155d1.tar.gz
elgg-80e56eb63923b56315b4c3fa2f69301e017155d1.tar.bz2
Fixed what I presume was an error: namely it was using $site instead of $guid in get_entity
git-svn-id: https://code.elgg.org/elgg/trunk@1643 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sites.php')
-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'];