Skip to content

Commit

Permalink
addons: fix CAddonMgr::IsAddonInstalled() for disabled addons
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Mar 3, 2015
1 parent 1e78a9b commit 6bb6eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/addons/AddonManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ bool CAddonMgr::IsAddonInstalled(const std::string& ID)

bool CAddonMgr::IsAddonInstalled(const std::string& ID, AddonPtr& addon)
{
return GetAddon(ID, addon);
return GetAddon(ID, addon, ADDON_UNKNOWN, false);
}

bool CAddonMgr::CanAddonBeInstalled(const std::string& ID)
Expand Down

0 comments on commit 6bb6eea

Please sign in to comment.