aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-10 11:41:38 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-10 11:41:38 +0000
commitfb3405482150f456c4fcf085768158feb672c6f2 (patch)
tree72202f80ae67dd00b6ad9448379cfb140d6555d9 /engine/lib/entities.php
parent48c29f1d2217fed8db865ed32d2e7c226da85d06 (diff)
downloadelgg-fb3405482150f456c4fcf085768158feb672c6f2.tar.gz
elgg-fb3405482150f456c4fcf085768158feb672c6f2.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Removed debug git-svn-id: https://code.elgg.org/elgg/trunk@845 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 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'])) {