fixing an php5.2.x error for ::export... to ->export... - we dont need the static call here anyhow.

This commit is contained in:
Nathan Gray 2011-12-05 16:14:21 +00:00
parent 6032b48c82
commit e4c4ce3d45

View File

@ -391,7 +391,7 @@ class importexport_definitions_ui
foreach($selected as $id) {
$definition = new importexport_definition($id);
try {
$export = $bodefinitions::export_from_import($definition);
$export = $bodefinitions->export_from_import($definition);
$export->save();
} catch (Exception $e) {
if($export)