Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
4fb71934
Commit
4fb71934
authored
Dec 24, 2019
by
IKEDA Soji
Browse files
More fix: Suppress default "message" attribute.
parent
cc5abe7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Scenario.pm
View file @
4fb71934
...
...
@@ -584,6 +584,8 @@ sub _compile_scenario {
my
$req
;
if
(
$_
eq
'
list_object
')
{
$req
=
'
return undef unless ref $that eq
\'
Sympa::List
\'
;
';
}
elsif
(
$_
eq
'
message
')
{
$req
=
sprintf
'
$context->{message} ||= Sympa::Message->new("\n");
';
}
else
{
$req
=
sprintf
'
return undef unless exists $context->{%s};
',
$_
;
}
...
...
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