Fixed bug where intervals were not being displayed or updated properly

This commit is contained in:
Frank Dillon 2005-05-10 21:09:13 +00:00
parent 9afcd91f96
commit a9d78fa581

View file

@ -259,7 +259,7 @@ sub www_saveSettings {
foreach $key (keys %{$session{form}}) {
$value = $session{form}{$key};
if ($key =~ m/(.*)_interval/) {
$value = WebGUI::DateTime::intervalToSeconds($session{form}{$key},$session{form}{$1."_units"});
$value = WebGUI::FormProcessor::interval($1);
$key = $1;
} elsif ($key =~ m/_units/) {
next;