From 06cc579811a66a12c0b476657fc19ac12bc24ba9 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Thu, 1 Mar 2012 15:37:29 +0200 Subject: Retrieve the host id from the right column --- lib/history/ephy-history-service-urls-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3