projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0001606: Statement are not sent to general contact
[fa-stable.git]
/
reporting
/
includes
/
excel_report.inc
diff --git
a/reporting/includes/excel_report.inc
b/reporting/includes/excel_report.inc
index 996d290c42338960b9c7794f0ac69009f06401bc..33ac54a529448ee627444c4679e9dd357a41b567 100644
(file)
--- a/
reporting/includes/excel_report.inc
+++ b/
reporting/includes/excel_report.inc
@@
-693,8
+693,9
@@
class FrontReport extends Spreadsheet_Excel_Writer_Workbook
return ($px / $unit_offset_length);
}
return ($px / $unit_offset_length);
}
- function End($email=0, $subject=
null, $myrow=null, $doctype = 0
)
+ function End($email=0, $subject=
''
)
{
{
+ global $path_to_root;
++$this->y;
for ($i = 0; $i < $this->numcols; $i++)
$this->sheet->writeBlank($this->y, $i, $this->formatFooter);
++$this->y;
for ($i = 0; $i < $this->numcols; $i++)
$this->sheet->writeBlank($this->y, $i, $this->formatFooter);
@@
-714,7
+715,8
@@
class FrontReport extends Spreadsheet_Excel_Writer_Workbook
}
closedir($d);
}
}
closedir($d);
}
- meta_forward($_SERVER['PHP_SELF'], "xls=1&filename=$this->filename&unique=$this->unique_name");
+
+ meta_forward($path_to_root.'/reporting/prn_redirect.php', "xls=1&filename=$this->filename&unique=$this->unique_name");
exit();
}
}
exit();
}
}