From 0d788d88a8525d661c35721bd397f6fefb2e7ec9 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 1 Nov 2010 17:03:25 +0000 Subject: Fixes #2603: Corrected is_public_page() to isPublicPage(). git-svn-id: http://code.elgg.org/elgg/trunk@7174 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggSite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3