diff options
author | stuconnolly <stuart02@gmail.com> | 2010-08-14 11:12:33 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-08-14 11:12:33 +0000 |
commit | 4e5eeaa70107d0a296c14017eef4ea1dd1213469 (patch) | |
tree | 24939842e2788b86fae80d4aac7d77469861763d /Source/SPExportInitializer.m | |
parent | 3922ff7470f56072246f988f6f83756b754ab0ac (diff) | |
download | sequelpro-4e5eeaa70107d0a296c14017eef4ea1dd1213469.tar.gz sequelpro-4e5eeaa70107d0a296c14017eef4ea1dd1213469.tar.bz2 sequelpro-4e5eeaa70107d0a296c14017eef4ea1dd1213469.zip |
Ensure that the XML file header is written when performing an XML export of the current filtered result.
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r-- | Source/SPExportInitializer.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index 69bbcfce..1e5c845e 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -331,6 +331,8 @@ else { xmlExporter = [self initializeXMLExporterForTable:nil orDataArray:dataArray]; + [singleExportFile setExportFileNeedsXMLHeader:YES]; + [exportFiles addObject:singleExportFile]; [xmlExporter setExportOutputFile:singleExportFile]; |