diff --git a/htdocs/actioncomm.class.php b/htdocs/actioncomm.class.php index 679bb9e181f..b918b9924c0 100644 --- a/htdocs/actioncomm.class.php +++ b/htdocs/actioncomm.class.php @@ -234,8 +234,8 @@ class ActionComm $this->type_id = $obj->type_id; $this->type_code = $obj->type_code; - $transcode=$langs->trans("Action".$obj->code); - $type_libelle=($transcode!="Action".$obj->code?$transcode:$obj->libelle); + $transcode=$langs->trans("Action".$obj->type_code); + $type_libelle=($transcode!="Action".$obj->type_code?$transcode:$obj->libelle); $this->type = $type_libelle; $this->label = $obj->label; diff --git a/htdocs/lib/agenda.lib.php b/htdocs/lib/agenda.lib.php index e752ba083f6..1d0f3ce2fe8 100644 --- a/htdocs/lib/agenda.lib.php +++ b/htdocs/lib/agenda.lib.php @@ -73,7 +73,7 @@ function show_array_actions_to_do($max=5) print "