aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-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'])) {