aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 00:51:05 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 00:51:05 +0000
commitf6498706d2408aedbb9069e08b71c635b8c9a9d3 (patch)
treef8d8dd662253085c49fbd2028a34b130eacb5318
parentb97b391cdd12ec62931c2a825ed4c70478ec5db0 (diff)
downloadelgg-f6498706d2408aedbb9069e08b71c635b8c9a9d3.tar.gz
elgg-f6498706d2408aedbb9069e08b71c635b8c9a9d3.tar.bz2
Fixed typo that break ElggPlugin::isActive().
git-svn-id: http://code.elgg.org/elgg/trunk@8083 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/classes/ElggPlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 1e737f28e..2ad759f31 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -500,8 +500,7 @@ class ElggPlugin extends ElggObject {
if ($site_guid) {
$site = get_entity($site_guid);
} else {
- $site_guid = get_config('site');
- $site = get_entity($site_guid);
+ $site = get_config('site');
}
if (!($site instanceof ElggSite)) {