Skip bookmark URIS starting with '('

Due to a bug in the sqlite handling we were happily adding
folders with '(null') and it happened to work until now.
This commit is contained in:
Alexander Butenko 2010-07-01 22:09:58 +02:00 committed by Christian Dywan
parent 6fb35107a0
commit 60593b27d1

View file

@ -768,7 +768,7 @@ katze_item_set_value_from_column (sqlite3_stmt* stmt,
{
const unsigned char* uri;
uri = sqlite3_column_text (stmt, column);
if (uri && uri[0])
if (uri && uri[0] && uri[0] != '(')
katze_item_set_uri (item, (gchar*)uri);
}
else if (g_str_equal (name, "title") || g_str_equal (name, "name"))