From 5d7f4aa72a9ef2f09acc426d4a5729698f56da79 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 1 Feb 2010 22:03:52 +0000 Subject: Fixed incorrect variable for subtype in get_entity_dates(). git-svn-id: http://code.elgg.org/elgg/trunk@3896 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index b040ab150..7bc1d4cda 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -2327,7 +2327,7 @@ function get_entity_dates($type = '', $subtype = '', $container_guid = 0, $site_ if (!$subtype_id = get_subtype_id($type, $subtype)) { return FALSE; } else { - $where[] = "subtype=$subtype"; + $where[] = "subtype=$subtype_id"; } } } -- cgit v1.2.3