mirror of https://github.com/Gnucash/gnucash
This fix prevents empty strings as tokens and removes duplicated tokens. Function tokenize_string() is used for bayesian import matching, where empty token strings or duplicated tokens lead to wrong results within probability calculation for matching of a transaction to an account. Empty token strings can occur if (see function g_strsplit()) * two or more spaces occur directly after another * the string begins or ends with spacespull/641/head
parent
322f2d99de
commit
d07d4b962f
Loading…
Reference in new issue