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:
parent
6fb35107a0
commit
60593b27d1
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ katze_item_set_value_from_column (sqlite3_stmt* stmt,
|
||||||
{
|
{
|
||||||
const unsigned char* uri;
|
const unsigned char* uri;
|
||||||
uri = sqlite3_column_text (stmt, column);
|
uri = sqlite3_column_text (stmt, column);
|
||||||
if (uri && uri[0])
|
if (uri && uri[0] && uri[0] != '(')
|
||||||
katze_item_set_uri (item, (gchar*)uri);
|
katze_item_set_uri (item, (gchar*)uri);
|
||||||
}
|
}
|
||||||
else if (g_str_equal (name, "title") || g_str_equal (name, "name"))
|
else if (g_str_equal (name, "title") || g_str_equal (name, "name"))
|
||||||
|
|
Loading…
Reference in a new issue