diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-12 14:55:03 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-12 14:55:03 +0000 |
commit | 1a584b93a8685d56526f10dce215a08178f24bc1 (patch) | |
tree | 733c79cac5883ab990ba33e19595af053ab4ddff | |
parent | 53d7a2c703fc04c90433f56c8088a491bcc8348b (diff) | |
download | elgg-1a584b93a8685d56526f10dce215a08178f24bc1.tar.gz elgg-1a584b93a8685d56526f10dce215a08178f24bc1.tar.bz2 |
Tag updates.
git-svn-id: https://code.elgg.org/elgg/trunk@2560 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php index 107ac3ce7..5ca8b541d 100644 --- a/engine/lib/tags.php +++ b/engine/lib/tags.php @@ -112,7 +112,7 @@ $query .= " join {$CONFIG->dbprefix}entity_subtypes subtype on subtype.id = e.subtype ";
$query .= " join {$CONFIG->dbprefix}metastrings msvalue on msvalue.id = md.value_id ";
- $query .= " where 1 ";
+ $query .= " where msvalue.string != '' ";
if ($metadata_name > 0) {
$query .= " and md.name_id = {$metadata_name} ";
|