aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-01 17:03:25 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-01 17:03:25 +0000
commit0d788d88a8525d661c35721bd397f6fefb2e7ec9 (patch)
tree0e98f8300581d1e5cfb1e66568dd78232714d2ea
parentf3fa93acb1063be2a2de88a6d2841b5d3a982d85 (diff)
downloadelgg-0d788d88a8525d661c35721bd397f6fefb2e7ec9.tar.gz
elgg-0d788d88a8525d661c35721bd397f6fefb2e7ec9.tar.bz2
Fixes #2603: Corrected is_public_page() to isPublicPage().
git-svn-id: http://code.elgg.org/elgg/trunk@7174 36083f99-b078-4883-b0ff-0f9b5a30f544
-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();
}