aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/history/ephy-history-service-urls-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history/ephy-history-service-urls-table.c b/lib/history/ephy-history-service-urls-table.c
index fe8d0d5e3..5473894d5 100644
--- a/lib/history/ephy-history-service-urls-table.c
+++ b/lib/history/ephy-history-service-urls-table.c
@@ -209,7 +209,7 @@ create_url_from_statement (EphySQLiteStatement *statement)
url->id = ephy_sqlite_statement_get_column_as_int (statement, 0);
url->host = ephy_history_host_new (NULL, NULL, 0, 1.0);
- url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 7);
+ url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 6);
return url;
}