diff --git a/htdocs/core/lib/emailing.lib.php b/htdocs/core/lib/emailing.lib.php index 766886af2c0ece759003015f6c6042954396c21f..e68a62a2768003bb051d2ab5b646aafb839fc461 100644 --- a/htdocs/core/lib/emailing.lib.php +++ b/htdocs/core/lib/emailing.lib.php @@ -35,7 +35,7 @@ function emailing_prepare_head($object) // Entries must be declared in modules descriptor with line // $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab // $this->tabs = array('entity:-tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to remove a tab - complete_head_from_modules($conf,$langs,$object,$head,$h,'mailling'); + complete_head_from_modules($conf,$langs,$object,$head,$h,'emailing'); $h = 0; $head = array(); @@ -59,7 +59,7 @@ function emailing_prepare_head($object) $head[$h][2] = 'info'; $h++; - complete_head_from_modules($conf,$langs,$object,$head,$h,'mailling','remove'); + complete_head_from_modules($conf,$langs,$object,$head,$h,'emailing','remove'); return $head; }