mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 19:02:35 +01:00
Fix: problem with action_prepare_head function
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user