Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
b5faa930
Unverified
Commit
b5faa930
authored
6 years ago
by
Peter Rotich
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #4502 from aydreeihn/issue/filter-action-email
Filter Action Send an Email Issue
parents
4a4d5452
20fb269c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/class.filter_action.php
+4
-3
4 additions, 3 deletions
include/class.filter_action.php
with
4 additions
and
3 deletions
include/class.filter_action.php
+
4
−
3
View file @
b5faa930
...
...
@@ -561,8 +561,9 @@ class FA_SendEmail extends TriggerAction {
}
function
getConfigurationOptions
()
{
$choices
=
array
(
''
=>
__
(
'Default System Email'
));
$choices
+=
Email
::
getAddresses
();
global
$cfg
;
$choices
=
Email
::
getAddresses
();
return
array
(
'recipients'
=>
new
TextboxField
(
array
(
...
...
@@ -608,7 +609,7 @@ class FA_SendEmail extends TriggerAction {
'from'
=>
new
ChoiceField
(
array
(
'label'
=>
__
(
'From Email'
),
'choices'
=>
$choices
,
'default'
=>
''
,
'default'
=>
$cfg
->
getDefaultEmail
()
->
getId
()
,
)),
);
}
...
...
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