aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggSite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php
index 6f4abf18c..6e73e56a4 100644
--- a/engine/classes/ElggSite.php
+++ b/engine/classes/ElggSite.php
@@ -323,7 +323,7 @@ class ElggSite extends ElggEntity {
// hook into the index system call at the highest priority
register_plugin_hook('index', 'system', 'elgg_walled_garden_index', 1);
- if (!$this->is_public_page()) {
+ if (!$this->isPublicPage()) {
register_error(elgg_echo('loggedinrequired'));
forward();
}