diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-20 15:44:04 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-20 15:44:04 +0000 |
commit | e494c6fea5d9eb5714849c21d5452c6179f4373d (patch) | |
tree | 535dc498d949db15a54b257b15ef389f32cd644a /engine/lib | |
parent | 9d982e8731a0045632b8fab0ec35b8aeb74182d7 (diff) | |
download | elgg-e494c6fea5d9eb5714849c21d5452c6179f4373d.tar.gz elgg-e494c6fea5d9eb5714849c21d5452c6179f4373d.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Fixed strange regression in get_entities, now returns all stuff even if subtype is blank.
git-svn-id: https://code.elgg.org/elgg/trunk@661 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index a2d3bf48e..8a73b381a 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -845,7 +845,7 @@ if ($type != "") $where[] = "type='$type'"; - if ($subtype !== "") + if ($subtype) $where[] = "subtype=$subtype"; if ($owner_guid != "") {
if (!is_array($owner_guid)) {
|