aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/addons/AddonDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/addons/AddonDatabase.cpp b/xbmc/addons/AddonDatabase.cpp
index 98399c7d21..55f020c04d 100644
--- a/xbmc/addons/AddonDatabase.cpp
+++ b/xbmc/addons/AddonDatabase.cpp
@@ -338,7 +338,7 @@ bool CAddonDatabase::GetAddons(VECADDONS& addons, const ADDON::TYPE &type /* = A
strType = TranslateType(type);
if (!strType.empty())
- sql += PrepareSQL(" where type = '%s'", strType.c_str());
+ sql += PrepareSQL(" AND a.type = '%s'", strType.c_str());
}
m_pDS->query(sql.c_str());