diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index deec93e43f..859863ebc4 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -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; } ##########################################################################