Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sympa
sympa
Commits
ceba1bcf
Commit
ceba1bcf
authored
Aug 08, 2018
by
Mic Kaczmarczik
Browse files
Update owner_domain check to handle changes in owner/moderator editing process
parent
4a90d555
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/List/Users.pm
View file @
ceba1bcf
...
...
@@ -48,17 +48,19 @@ use constant _global_validations => {
my
$self
=
shift
;
my
$new
=
shift
;
my
$list
=
$self
->
{
context
};
my
$config
=
Sympa::List::
Config
->
new
(
$list
,
config
=>
$list
->
{'
admin
'});
my
$pinfo
=
$self
->
{
_pinfo
};
my
$loglevel
=
'
debug
';
# was set to 'info' during development
# gather parameters
my
$owner_domain
=
$
self
->
get
('
owner_domain
');
my
$owner_domain
=
$
config
->
get
('
owner_domain
');
if
(
defined
(
$self
->
get_change
('
owner_domain
')))
{
$owner_domain
=
$self
->
get_change
('
owner_domain
');
}
(
my
$domainrex
=
"
[.
\@
](
$owner_domain
)
\$
")
=~
s/ /|/g
;
my
$owner_domain_min
=
$
self
->
get
('
owner_domain_min
');
my
$owner_domain_min
=
$
config
->
get
('
owner_domain_min
');
if
(
defined
(
$self
->
get_change
('
owner_domain_min
')))
{
$owner_domain_min
=
$self
->
get_change
('
owner_domain_min
');
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment