From a9d78fa5818853ca453cbdc5c0aa898b93fdf920 Mon Sep 17 00:00:00 2001 From: Frank Dillon Date: Tue, 10 May 2005 21:09:13 +0000 Subject: [PATCH] Fixed bug where intervals were not being displayed or updated properly --- lib/WebGUI/Operation/Settings.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/Settings.pm b/lib/WebGUI/Operation/Settings.pm index c178d268a..7398e7427 100644 --- a/lib/WebGUI/Operation/Settings.pm +++ b/lib/WebGUI/Operation/Settings.pm @@ -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;