diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index bcd1aedc79..6f2368e612 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -1003,7 +1003,7 @@ sub pandora_get_calendar_id ($$) { sub pandora_get_same_day_id ($$) { my ($dbh, $same_day) = @_; - my %weeks = ('monday' => 1, 'tuesday' => 2, 'wednesday' => 3, 'thursday' => 4, 'friday' => 5, 'saturday' => 6, 'sunday' => 7, 'holiday' => 8); + 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; } @@ -5531,7 +5531,7 @@ sub cli_get_agents() { my $head_print = 0; - use Data::Dumper; + # use Data::Dumper; foreach my $agent (@agents) {