mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
resolved conflict
This commit is contained in:
parent
4185e34984
commit
922088c306
@ -1002,7 +1002,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user