From 1a584b93a8685d56526f10dce215a08178f24bc1 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 12 Jan 2009 14:55:03 +0000 Subject: Tag updates. git-svn-id: https://code.elgg.org/elgg/trunk@2560 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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} "; -- cgit v1.2.3