Skip to content
Snippets Groups Projects
Commit 3c02b37c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2531 from frederic34/patch-5

Update box_actions.php
parents 9b99ef93 5a17a512
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ class box_actions extends ModeleBoxes
$late = '';
$objp = $db->fetch_object($result);
$datelimite = $db->jdate($objp->dp);
$actionstatic->id = $objp->id;
$actionstatic->label = $objp->label;
$actionstatic->type_label = $objp->type_label;
$actionstatic->code = $objp->code;
......@@ -108,7 +109,6 @@ class box_actions extends ModeleBoxes
//($langs->transnoentities("Action".$objp->code)!=("Action".$objp->code) ? $langs->transnoentities("Action".$objp->code) : $objp->label)
$label = empty($objp->label)?$objp->type_label:$objp->label;
$tooltip = $langs->trans('Action'.$objp->code).': '.$label;
$this->info_box_contents[$line][] = array(
'td' => 'align="left"',
'text' => $actionstatic->getNomUrl(1),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment