X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FPrefs%2FCalendar.html;h=af20acd0ca22ee7526aa7916c03042a8f60d9d72;hb=5b5eb87bf66f1fac003a13dc2db48e8970c5c986;hp=57eb007f6fe7bf5f1450fbe62b5d812fb2dfe881;hpb=08d77ffa29ac8188b977730c5a01eef22cf5f5d6;p=freeside.git diff --git a/rt/share/html/Prefs/Calendar.html b/rt/share/html/Prefs/Calendar.html index 57eb007f6..af20acd0c 100644 --- a/rt/share/html/Prefs/Calendar.html +++ b/rt/share/html/Prefs/Calendar.html @@ -92,7 +92,7 @@ href="<%$RT::WebPath . '/Search/Build.html'%>">the Query Builder <%INIT> -use Digest::SHA 'sha1_base64'; +use Digest::SHA; use RT::SavedSearches; my $title = loc("Calendar Prefs"); @@ -111,7 +111,7 @@ if ($HiddenField && $HiddenField eq 'Private') { } if (defined $ChangeURL) { - my @args = $object->SetAttribute(Name => 'ICalURL', Content => sha1_base64(time)); + my @args = $object->SetAttribute(Name => 'ICalURL', Content => Digest::SHA::sha1_base64(time)); } elsif (defined $ResetURL) { my @args = $object->DeleteAttribute('ICalURL'); }