Re: reports_classes.inc:40: count()
We only need to include the 2 changes made by @notrinos.
The inclusion of the ui_globals.inc has already been done in other places.
Committed to repo 2.4.7 stable.
/Joe
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Reporting → reports_classes.inc:40: count()
We only need to include the 2 changes made by @notrinos.
The inclusion of the ui_globals.inc has already been done in other places.
Committed to repo 2.4.7 stable.
/Joe
All reporting/repXXX.php files call the reporting/includes/pdf_reports.inc based on destination chosen in the report request form.
All reporting/repXXX.php files are called only from reporting/reports_main.php which in turn "includes" the includes/ui.inc and that in turn "includes" the includes/ui/ui_globals.inc file (among others) that defines the function count_array().
Hence no need for separate inclusion of includes/ui/ui_globals.inc except when the reports are used independent of the above file.
Wonder why Line 374 was left out from such a change in reporting/includes/pdf_report.inc.
$count = count($this->headers2);
FrontAccounting forum → Reporting → reports_classes.inc:40: count()
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.