aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-01 22:03:52 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-01 22:03:52 +0000
commit5d7f4aa72a9ef2f09acc426d4a5729698f56da79 (patch)
tree9cfea14d19060a2a3523c67c35823a562dfde2e6 /engine/lib
parent7a0bf98c1e3f69313a1f79e77db24fe110958781 (diff)
downloadelgg-5d7f4aa72a9ef2f09acc426d4a5729698f56da79.tar.gz
elgg-5d7f4aa72a9ef2f09acc426d4a5729698f56da79.tar.bz2
Fixed incorrect variable for subtype in get_entity_dates().
git-svn-id: http://code.elgg.org/elgg/trunk@3896 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 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";
}
}
}