gnucash maint: Bug 756335 - When importing, date selection causes exit crash
John Ralls
jralls at code.gnucash.org
Thu Dec 17 19:44:52 EST 2015
Updated via https://github.com/Gnucash/gnucash/commit/2f2d1d91 (commit)
from https://github.com/Gnucash/gnucash/commit/8d904c12 (commit)
commit 2f2d1d91a8423e6bd9dd918a1469d34410292fbe
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Dec 17 16:44:42 2015 -0800
Bug 756335 - When importing, date selection causes exit crash
Second crash, when the field doesn't have a string.
diff --git a/src/import-export/qif-imp/qif-file.scm b/src/import-export/qif-imp/qif-file.scm
index e03fc9a..30f2a88 100644
--- a/src/import-export/qif-imp/qif-file.scm
+++ b/src/import-export/qif-imp/qif-file.scm
@@ -898,7 +898,7 @@
(let loop ((current (car objects))
(rest (cdr objects)))
(let ((val (getter current)))
- (if val
+ (if (and val (string? val))
(begin
(set! do-parsing #t)
(set! formats (checker val formats))))
Summary of changes:
src/import-export/qif-imp/qif-file.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list