diff options
Diffstat (limited to 'engine')
-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} ";
|