From fb3405482150f456c4fcf085768158feb672c6f2 Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 10 Jun 2008 11:41:38 +0000 Subject: Marcus Povey * Removed debug git-svn-id: https://code.elgg.org/elgg/trunk@845 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 7dcfc5f85..ea62da48f 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1225,7 +1225,7 @@ * @return true|false Whether the specified user can edit the specified entity. */ function can_edit_entity($entity_guid, $user_guid = 0) { - echo "e_guid:$entity_guid, u_guid:$user_guid"; + if ($user_guid == 0) { if (isset($_SESSION['user'])) { -- cgit v1.2.3