Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-commandbymail
Commits
33d02398
Commit
33d02398
authored
Feb 07, 2013
by
Ruslan Zakirov
Browse files
get rid of uninit warnings
parent
bf7a3688
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/RT/Interface/Email/Filter/TakeAction.pm
View file @
33d02398
...
...
@@ -201,6 +201,8 @@ sub GetCurrentUser {
foreach
my
$line
(
@content
)
{
next
if
$line
=~
/^\s*$/
&&
!
$found_pseudoheaders
;
last
if
$line
!~
/^(?:(\S+(?:{.*})?)\s*?:\s*?(.*)\s*?|)$/
;
next
unless
defined
$
1
;
$found_pseudoheaders
=
1
;
push
(
@items
,
$
1
=>
$
2
);
$
RT::
Logger
->
debug
("
Found pseudoheader: $1 => $2
");
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment