diff options
| author | Brett Profitt <brett.profitt@gmail.com> | 2012-10-19 12:40:36 -0400 | 
|---|---|---|
| committer | Brett Profitt <brett.profitt@gmail.com> | 2012-10-19 12:40:36 -0400 | 
| commit | b412b990eb3e8d30acbcf927c531d77f529ce8c4 (patch) | |
| tree | 6bf36a9cef791a439a14d853d5246b1aa0db780e /engine/classes | |
| parent | d134beadb79fcc90a75bda8bbcbfb9987b27470c (diff) | |
| download | elgg-b412b990eb3e8d30acbcf927c531d77f529ce8c4.tar.gz elgg-b412b990eb3e8d30acbcf927c531d77f529ce8c4.tar.bz2 | |
Correctly passing guid instead of object in container permissions check.
Diffstat (limited to 'engine/classes')
| -rw-r--r-- | engine/classes/ElggObject.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/engine/classes/ElggObject.php b/engine/classes/ElggObject.php index b4bae6825..fa6296c8c 100644 --- a/engine/classes/ElggObject.php +++ b/engine/classes/ElggObject.php @@ -223,7 +223,7 @@ class ElggObject extends ElggEntity {  		// must be member of group  		if (elgg_instanceof($this->getContainerEntity(), 'group')) { -			if (!$this->getContainerEntity()->canWriteToContainer(get_user($user_guid))) { +			if (!$this->getContainerEntity()->canWriteToContainer($user_guid)) {  				return false;  			}  		} | 
