Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
4119fde0
Commit
4119fde0
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/lib/emailing.lib.php
+2
-6
2 additions, 6 deletions
htdocs/core/lib/emailing.lib.php
with
2 additions
and
6 deletions
htdocs/core/lib/emailing.lib.php
+
2
−
6
View file @
4119fde0
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment