From b19c9e359da22f2b6f150eb822c70a21f2c0c786 Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 13 Mar 2008 16:46:42 +0000 Subject: Marcus Povey * Undone git-svn-id: https://code.elgg.org/elgg/trunk@212 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/entities.php') 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(); -- cgit v1.2.3