aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-08-14 11:12:33 +0000
committerstuconnolly <stuart02@gmail.com>2010-08-14 11:12:33 +0000
commit4e5eeaa70107d0a296c14017eef4ea1dd1213469 (patch)
tree24939842e2788b86fae80d4aac7d77469861763d
parent3922ff7470f56072246f988f6f83756b754ab0ac (diff)
downloadsequelpro-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.
-rw-r--r--Source/SPExportInitializer.m2
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];