diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 15:00:06 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 15:00:06 +0000 |
commit | 5c4b91a531105ddbf873045b65009484b65384dc (patch) | |
tree | 9504742ba2369e8c6ce6b43029b0c705722b744c /engine | |
parent | 26979002f15359ea9af7a1d2c2251419ac6db060 (diff) | |
download | elgg-5c4b91a531105ddbf873045b65009484b65384dc.tar.gz elgg-5c4b91a531105ddbf873045b65009484b65384dc.tar.bz2 |
Fixed an invalid call to get_pageowner_guid() in can_edit_entity().
Removed the call to the validation function in useradd.
git-svn-id: http://code.elgg.org/elgg/trunk@7132 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 50e41ab2c..915939922 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -455,7 +455,7 @@ function can_write_to_container($user_guid = 0, $container_guid = 0, $entity_typ $container_guid = (int)$container_guid; if (!$container_guid) { - $container_guid = get_page_owner_guid(); + $container_guid = elgg_get_page_owner_guid(); } if (!$container_guid) { |