Skip to content
Snippets Groups Projects
Commit 079f21da authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Add explicit expires = 0 for "never"

parent 53e6235d
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,7 @@ sub override_addedit
if (defined($formData->{'inputExpires.modifier'}) && $formData->{'inputExpires.modifier'} ne "") {
# Never
if ($formData->{'inputExpires.modifier'} eq "n") {
$expires = 0;
# Minutes
} elsif ($formData->{'inputExpires.modifier'} eq "m") {
$expires *= 60;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment