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 0c60f209b..b241cd075 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -362,7 +362,7 @@
$type = sanitise_string($type);
$subtype = get_subtype_id($subtype);
- $owner_guid = (int)$owner_guid; if (!$owner_guid) $owner_guid = $_SESSION['id'];
+ $owner_guid = (int)$owner_guid;
$access_id = (int)$access_id;
$time = time();