]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fix typo in ElggAccess:get_ignore_access().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 13 Oct 2009 04:45:05 +0000 (04:45 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 13 Oct 2009 04:45:05 +0000 (04:45 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3529 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/access.php

index 73fb5e82c4c94bb3177ff6a2f9c5685c13325f00..c3f5b7f0a661388b6a237998b485cdf6ffeb8415 100644 (file)
@@ -26,7 +26,7 @@ class ElggAccess {
         * @return bool
         */
        public function get_ignore_access() {
-               return $ignore_access;
+               return $this->ignore_access;
        }
 
        /**
@@ -782,7 +782,6 @@ function get_readable_access_level($entity_accessid){
  */
 function elgg_set_ignore_access($ignore = true) {
        $elgg_access = elgg_get_access_object();
-
        return $elgg_access->set_ignore_access($ignore);
 }