diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 338e9cd8a21..4c063d16a09 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -6547,7 +6547,7 @@ var SearchEngines = { let dbFile = FileUtils.getFile("ProfD", ["browser.db"]); let mDBConn = Services.storage.openDatabase(dbFile); let stmts = []; - stmts[0] = mDBConn.createStatement("SELECT favicon FROM images WHERE url_key = ?"); + stmts[0] = mDBConn.createStatement("SELECT favicon FROM history_with_favicons WHERE url = ?"); stmts[0].bindStringParameter(0, docURI.spec); let favicon = null; Services.search.init(function addEngine_cb(rv) {