Qual: Wrong variable name

This commit is contained in:
Raphaël Doursenaud
2014-04-23 17:40:48 +02:00
parent 2abbc8845f
commit e561cc87f7

View File

@@ -562,7 +562,7 @@ class doc_generic_task_odt extends ModelePDFTask
if (!empty($project->fk_soc)) $socid = $project->fk_soc;
$tmparray=$this->get_substitutionarray_tasks($object,$outputlangs);
complete_substitutions_array($tmparray, $outputlangs, $task);
complete_substitutions_array($tmparray, $outputlangs, $object);
foreach($tmparray as $key => $val)
{
try
@@ -837,4 +837,4 @@ class doc_generic_task_odt extends ModelePDFTask
}
}
?>
?>