aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 12:54:19 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 12:54:19 +0000
commitcc7737162891a0a7712350b0ada84d29e23938c9 (patch)
tree8152d3e213113ed7a2197cca74224f402a4648cd /engine/lib/entities.php
parent1d625e30949ca2c500ac002583485f44f576176c (diff)
downloadelgg-cc7737162891a0a7712350b0ada84d29e23938c9.tar.gz
elgg-cc7737162891a0a7712350b0ada84d29e23938c9.tar.bz2
Changed so that validated_email flag written as null user. Refs #190.
Also confirms fix and closes #104. git-svn-id: https://code.elgg.org/elgg/trunk@1649 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index a46b4ce54..6110b0db7 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1660,7 +1660,7 @@
if ($entity = get_entity($entity_guid)) {
$return = null;
-
+
if ($metadata->owner_guid == 0) $return = true;
if (is_null($return))
$return = can_edit_entity($entity_guid, $user_guid);