aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:46:42 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:46:42 +0000
commitb19c9e359da22f2b6f150eb822c70a21f2c0c786 (patch)
tree8ca819f714165c10aaa14bcc2c1e4e1ec5a4291f /engine/lib/entities.php
parent084666341d6b20906dbce2e38db89e4113d046bb (diff)
downloadelgg-b19c9e359da22f2b6f150eb822c70a21f2c0c786.tar.gz
elgg-b19c9e359da22f2b6f150eb822c70a21f2c0c786.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Undone git-svn-id: https://code.elgg.org/elgg/trunk@212 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 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();