Bug#372262: create the session with the file-creation option enabled.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15496 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-02-04 15:04:18 +00:00
parent 689796bd98
commit 01e6da3fcc

View File

@ -889,7 +889,7 @@ gnc_file_export_file(const char * newfile)
/* -- this session code is NOT identical in FileOpen and FileSaveAs -- */
new_session = qof_session_new ();
qof_session_begin (new_session, newfile, FALSE, FALSE);
qof_session_begin (new_session, newfile, FALSE, TRUE);
io_err = qof_session_get_error (new_session);