diff --git a/htdocs/adherents/agenda.php b/htdocs/adherents/agenda.php
index 61cb960f05c..927bd22f7fa 100644
--- a/htdocs/adherents/agenda.php
+++ b/htdocs/adherents/agenda.php
@@ -148,10 +148,10 @@ if ($object->id > 0)
//print '';
- $morehtmlcenter = '';
+ $createbutton = '';
if (! empty($conf->agenda->enabled))
{
- $morehtmlcenter.=''.$langs->trans("AddAction").'';
+ $createbutton.=''.$langs->trans("AddAction").'';
}
if (! empty($conf->agenda->enabled) && (!empty($user->rights->agenda->myactions->read) || !empty($user->rights->agenda->allactions->read) ))
@@ -162,7 +162,7 @@ if ($object->id > 0)
if (! empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) $param.='&contextpage='.$contextpage;
if ($limit > 0 && $limit != $conf->liste_limit) $param.='&limit='.$limit;
- print_barre_liste($langs->trans("ActionsOnMember"), 0, $_SERVER["PHP_SELF"], '', $sortfield, $sortorder, $morehtmlcenter, 0, -1, '', '', '', '', 0, 1, 1);
+ print_barre_liste($langs->trans("ActionsOnMember"), 0, $_SERVER["PHP_SELF"], '', $sortfield, $sortorder, '', 0, -1, '', '', $createbutton, '', 0, 1, 1);
// List of all actions
$filters=array();