mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 682027 - Make returned fields in XPIProvider.getVisibleAddons consistent; r=Mossop
This commit is contained in:
parent
7d57b6f306
commit
0fad58b24b
@ -4947,7 +4947,8 @@ var XPIDatabase = {
|
||||
stmt = this.getStatement("getVisibleAddons");
|
||||
}
|
||||
else {
|
||||
let sql = "SELECT * FROM addon WHERE visible=1 AND type IN (";
|
||||
let sql = "SELECT " + FIELDS_ADDON + " FROM addon WHERE visible=1 AND " +
|
||||
"type IN (";
|
||||
for (let i = 1; i <= aTypes.length; i++) {
|
||||
sql += "?" + i;
|
||||
if (i < aTypes.length)
|
||||
|
Loading…
Reference in New Issue
Block a user