Fixed bug where intervals were not being displayed or updated properly
This commit is contained in:
parent
9afcd91f96
commit
a9d78fa581
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ sub www_saveSettings {
|
||||||
foreach $key (keys %{$session{form}}) {
|
foreach $key (keys %{$session{form}}) {
|
||||||
$value = $session{form}{$key};
|
$value = $session{form}{$key};
|
||||||
if ($key =~ m/(.*)_interval/) {
|
if ($key =~ m/(.*)_interval/) {
|
||||||
$value = WebGUI::DateTime::intervalToSeconds($session{form}{$key},$session{form}{$1."_units"});
|
$value = WebGUI::FormProcessor::interval($1);
|
||||||
$key = $1;
|
$key = $1;
|
||||||
} elsif ($key =~ m/_units/) {
|
} elsif ($key =~ m/_units/) {
|
||||||
next;
|
next;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue