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

Merge pull request #665 from FHenry/develop

Fix mass mailing tabs regression 
parents e9dc4b9d 195af1f2
No related branches found
No related tags found
No related merge requests found
...@@ -31,12 +31,6 @@ function emailing_prepare_head($object) ...@@ -31,12 +31,6 @@ function emailing_prepare_head($object)
{ {
global $user, $langs, $conf; global $user, $langs, $conf;
// Show more tabs from modules
// 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,'emailing');
$h = 0; $h = 0;
$head = array(); $head = array();
...@@ -59,6 +53,8 @@ function emailing_prepare_head($object) ...@@ -59,6 +53,8 @@ function emailing_prepare_head($object)
$head[$h][2] = 'info'; $head[$h][2] = 'info';
$h++; $h++;
complete_head_from_modules($conf,$langs,$object,$head,$h,'emailing');
complete_head_from_modules($conf,$langs,$object,$head,$h,'emailing','remove'); complete_head_from_modules($conf,$langs,$object,$head,$h,'emailing','remove');
return $head; return $head;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment