Revision: 1895
http://mrbs.svn.sourceforge.net/mrbs/?rev=1895&view=rev
Author: cimorrison
Date: 2011-08-27 16:55:56 +0000 (Sat, 27 Aug 2011)
Log Message:
-----------
Fixed CSV output which had got broken by the DataTables changes
Modified Paths:
--------------
mrbs/branches/datatables/web/report.php
Modified: mrbs/branches/datatables/web/report.php
===================================================================
--- mrbs/branches/datatables/web/report.php 2011-08-27 16:25:10 UTC (rev
1894)
+++ mrbs/branches/datatables/web/report.php 2011-08-27 16:55:56 UTC (rev
1895)
@@ -201,7 +201,7 @@
// If we're capable of delivering an Ajax request and this is not Ajax
request,
// then don't do anything. We're going to save sending the data until we
actually
// get the Ajax request; we just send the rest of the page at this stage.
- if ($ajax_capable && !$ajax)
+ if (!$output_as_csv && $ajax_capable && !$ajax)
{
return;
}
@@ -348,7 +348,7 @@
{
$line = '"';
$line .= implode("\"$csv_col_sep\"", $values);
- $line .= $csv_row_sep;
+ $line .= '"' . $csv_row_sep;
}
else
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits