Merged changes form main trunk (2.2.8, 2.2.9)
[fa-stable.git] / reporting / includes / excel_report.inc
index ceadc52f0a6367b944081a05b910c382c75f0270..15b63c472db807f74fa2c12ac25a1b37d4336d11 100644 (file)
@@ -71,7 +71,7 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook
                $this->endLine = 760;
                $this->fontSize = $fontsize;
                $this->oldFontSize = 0;
-               $this->y = 1;
+               $this->y = 0;
                $this->currency = '';
                $this->excelColWidthFactor = $excelColWidthFactor;
                $rtl = ($_SESSION['language']->dir == 'rtl');
@@ -237,7 +237,6 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook
 
        function Header()
        {
-               $this->y = 0;
                $tcol = $this->numcols - 1;
                $this->sheet->setRow($this->y, 20);
                for ($i = 0; $i < $this->numcols; $i++)