From 084666341d6b20906dbce2e38db89e4113d046bb Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 13 Mar 2008 16:45:53 +0000 Subject: Marcus Povey * Owner ID detected if not specified. git-svn-id: https://code.elgg.org/elgg/trunk@211 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 fd0c81593..0c60f209b 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; + $owner_guid = (int)$owner_guid; if (!$owner_guid) $owner_guid = $_SESSION['id']; $access_id = (int)$access_id; $time = time(); -- cgit v1.2.3