Give required bo parameter

This commit is contained in:
Nathan Gray 2012-04-18 17:48:10 +00:00
parent 31bae98d9f
commit 335c025e68

View File

@ -16,7 +16,7 @@ class infolog_wizard_export_csv extends importexport_wizard_basic_export_csv
parent::__construct();
// Field mapping
$bo = new infolog_tracking();
$bo = new infolog_tracking(new infolog_bo());
$this->export_fields = array('info_id' => 'Infolog ID', 'pm_id' => 'Project ID', 'project' => 'Project Name') + $bo->field2label;
// Custom fields