From ea5378e29c0d2e21c02cc139cbeecc1f80d20aed Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 7 Oct 2010 14:49:29 +0000 Subject: [PATCH] Fix: problem with action_prepare_head function --- htdocs/comm/action/document.php | 2 +- htdocs/comm/action/info.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index f12dd40f616..59d5e0c0b0e 100755 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -138,7 +138,7 @@ if ($objectid > 0) $contact->fetch($act->contact->id); $act->contact=$contact; - $head=actions_prepare_head(); + $head=actions_prepare_head($act); dol_fiche_head($head, 'documents', $langs->trans("Action"),0,'task'); // Affichage fiche action en mode visu diff --git a/htdocs/comm/action/info.php b/htdocs/comm/action/info.php index a5291e132a3..c81b0ee27c0 100644 --- a/htdocs/comm/action/info.php +++ b/htdocs/comm/action/info.php @@ -53,7 +53,7 @@ $act = new ActionComm($db); $act->fetch($_GET["id"]); $act->info($_GET["id"]); -$head=actions_prepare_head(); +$head=actions_prepare_head($act); dol_fiche_head($head, 'info', $langs->trans("Action"),0,'task');