]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2603: Corrected is_public_page() to isPublicPage().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 1 Nov 2010 17:03:25 +0000 (17:03 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 1 Nov 2010 17:03:25 +0000 (17:03 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7174 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggSite.php

index 6f4abf18c991b182b7ed174aa8311339d0bdb930..6e73e56a429f09d83b80309162ec6d3b90d49333 100644 (file)
@@ -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();
                        }