minor fix

This commit is contained in:
Daniel Barbero Martin 2021-11-23 18:04:34 +01:00
parent fee6b06a2a
commit e0fec6470d
1 changed files with 1 additions and 1 deletions

View File

@ -978,7 +978,7 @@ sub pandora_get_same_day_id ($$) {
my $weeks = { 'monday' => 1, 'tuesday' => 2, 'wednesday' => 3, 'thursday' => 4, 'friday' => 5, 'saturday' => 6, 'sunday' => 7, 'holiday' => 8};
return defined ($weeks{$same_day}) ? $weeks{$same_day} : -1;
return defined ($weeks->{$same_day}) ? $weeks->{$same_day} : -1;
}
##########################################################################