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
fcc912d6
Commit
fcc912d6
authored
Sep 16, 2019
by
IKEDA Soji
Browse files
Error message "Use of uninitialized value $2" while instancing family lists (#749)
parent
4d3ae352
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/DataSource.pm
View file @
fcc912d6
...
...
@@ -241,8 +241,8 @@ sub is_allowed_to_sync {
unless
(
$range
=~
/^([012]?[0-9])(?:\:([0-5][0-9]))?-([012]?[0-9])(?:\:([0-5][0-9]))?$/
);
my
$start
=
60
*
int
(
$
1
)
+
int
(
$
2
);
my
$end
=
60
*
int
(
$
3
)
+
int
(
$
4
);
my
$start
=
60
*
int
(
$
1
)
+
int
(
$
2
//
0
);
my
$end
=
60
*
int
(
$
3
)
+
int
(
$
4
//
0
);
$end
+=
24
*
60
if
(
$end
<
$start
);
$log
->
syslog
('
debug
',
...
...
Write
Preview
Markdown
is supported
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