Fix: problem with action_prepare_head function
This commit is contained in:
parent
69f4686ac7
commit
ea5378e29c
@ -138,7 +138,7 @@ if ($objectid > 0)
|
|||||||
$contact->fetch($act->contact->id);
|
$contact->fetch($act->contact->id);
|
||||||
$act->contact=$contact;
|
$act->contact=$contact;
|
||||||
|
|
||||||
$head=actions_prepare_head();
|
$head=actions_prepare_head($act);
|
||||||
dol_fiche_head($head, 'documents', $langs->trans("Action"),0,'task');
|
dol_fiche_head($head, 'documents', $langs->trans("Action"),0,'task');
|
||||||
|
|
||||||
// Affichage fiche action en mode visu
|
// Affichage fiche action en mode visu
|
||||||
|
|||||||
@ -53,7 +53,7 @@ $act = new ActionComm($db);
|
|||||||
$act->fetch($_GET["id"]);
|
$act->fetch($_GET["id"]);
|
||||||
$act->info($_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');
|
dol_fiche_head($head, 'info', $langs->trans("Action"),0,'task');
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user