Fix: problem with action_prepare_head function

This commit is contained in:
Regis Houssin
2010-10-07 14:49:29 +00:00
parent 69f4686ac7
commit ea5378e29c
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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');