From e561cc87f76bce387f4b1d9ea19c8d5218f1ca77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Wed, 23 Apr 2014 17:40:48 +0200 Subject: [PATCH] Qual: Wrong variable name --- .../modules/project/task/pdf/doc_generic_task_odt.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/project/task/pdf/doc_generic_task_odt.modules.php b/htdocs/core/modules/project/task/pdf/doc_generic_task_odt.modules.php index f3ccc773681..3d76834dc9e 100644 --- a/htdocs/core/modules/project/task/pdf/doc_generic_task_odt.modules.php +++ b/htdocs/core/modules/project/task/pdf/doc_generic_task_odt.modules.php @@ -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 } } -?> \ No newline at end of file +?>