Fix the POD for Storage.pm

Fix for bad calendar day names in the month view.
This commit is contained in:
Colin Kuskie 2007-02-17 16:53:03 +00:00
parent fd9e2ecd21
commit 4cf11a716f
3 changed files with 5 additions and 4 deletions

View file

@ -15,6 +15,7 @@
the Events Calendars they replace.
- fix: Events are created with no group information.
- fix: Can't add files with File Pile (perlDreamer Consulting, LLC)
- fix: Calendar: Month View Always Shows Sunday (perlDreamer Consulting, LLC)
7.3.9
- fix: SQL Form and big table imports

View file

@ -1145,10 +1145,10 @@ sub viewMonth {
unshift @dayNames,splice(@dayNames,$first_dow);
unshift @dayAbbrs,splice(@dayAbbrs,$first_dow);
for my $day (0..$#dayNames) {
for my $dayIndex (0..$#dayNames) {
push @{$var->{dayNames}}, {
"dayName" => $dayNames[$_],
"dayAbbr" => $dayAbbrs[$_],
"dayName" => $dayNames[$dayIndex],
"dayAbbr" => $dayAbbrs[$dayIndex],
};
}

View file

@ -41,7 +41,7 @@ This package provides a mechanism for storing and retrieving files that are not
$store = WebGUI::Storage->get($self->session,$id);
$filename = $store->addFileFromFilesystem($pathToFile);
$filename = $store->addFileFromFormPost($formVarName);
$filename = $store->addFileFromFormPost($formVarName,$attachmentLimit);
$filename = $store->addFileFromHashref($filename,$hashref);
$filename = $store->addFileFromScalar($filename,$content);