mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 792833 - User specifies source of 'num' field'; either...
transaction number or split action (requires at least GnuCash 2.5.0) Strip leading delimiters from KVP keys when reading them from the database. Leading delimiters are incorrectly included in databases created with GnuCash 2.6.x.
This commit is contained in:
@@ -203,7 +203,7 @@ get_key_from_path (std::string path)
|
||||
auto idx = get_final_delim(path);
|
||||
if (idx == std::string::npos)
|
||||
return path;
|
||||
return path.substr(idx);
|
||||
return path.substr(idx + 1);
|
||||
}
|
||||
|
||||
static std::string
|
||||
|
||||
Reference in New Issue
Block a user