diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-15 15:06:21 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-15 15:06:21 +0000 |
commit | 5a6d2bf8e397792fdc557b658e5ab5caea5d9f29 (patch) | |
tree | 6e21318c787c9b5dc9bb806823bef14240eb9e76 /engine/lib/entities.php | |
parent | 229c9b8a8cf1bc99aa915473f856ba471e9dfb45 (diff) | |
download | elgg-5a6d2bf8e397792fdc557b658e5ab5caea5d9f29.tar.gz elgg-5a6d2bf8e397792fdc557b658e5ab5caea5d9f29.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Removed canedit shortcut
git-svn-id: https://code.elgg.org/elgg/trunk@462 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-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 4f401ebc6..c4136de49 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -876,7 +876,7 @@ $user = get_entity($user_guid);
}
$entity = get_entity($entity_guid);
-return true;
+
if ($entity->getOwner() == $user->getGUID()) return true;
if ($entity->type == "user" && $entity->getGUID() == $user->getGUID()) return true;
|