diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggPlugin.php | 3 |
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)) { |