diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index b837bdae71..0f570bfebc 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2010-12-22 Ramon Novoa + + * lib/PandoraFMS/Core.pm: Fixed day name array. 0 corresponds + to Sunday. Fixes bug #3122177. + 2010-12-22 Sergio Martin * util/pandora_manage.pl: Fixed codification bug in the diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index be696257bd..e9df68bde7 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -163,7 +163,7 @@ our @EXPORT = qw( ); # Some global variables -our @DayNames = qw(monday tuesday wednesday thursday friday saturday sunday); +our @DayNames = qw(sunday monday tuesday wednesday thursday friday saturday); our @ServerTypes = qw (dataserver networkserver snmpconsole reconserver pluginserver predictionserver wmiserver exportserver inventoryserver webserver); our @AlertStatus = ('Execute the alert', 'Do not execute the alert', 'Do not execute the alert, but increment its internal counter', 'Cease the alert', 'Recover the alert', 'Reset internal counter');