[otrs-cvs] otrs/Kernel/Output/HTML Layout.pm,1.419,1.420

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv2275/Kernel/Output/HTML

Modified Files:
	Layout.pm 
Log Message:
Fixed bug#9162 - Setting the start day of the week for the datepicker to Sunday does not work.

Author: ub

Index: Layout.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Layout.pm,v
retrieving revision 1.419
retrieving revision 1.420
diff -2 -u -d -r1.419 -r1.420
--- Layout.pm	30 Jan 2013 14:24:33 -0000	1.419
+++ Layout.pm	13 Feb 2013 17:04:57 -0000	1.420
@@ -3208,5 +3208,8 @@
 
     # Get first day of the week
-    my $WeekDayStart = $Self->{ConfigObject}->Get('CalendarWeekDayStart') || 1;
+    my $WeekDayStart = $Self->{ConfigObject}->Get('CalendarWeekDayStart');
+    if ( !defined $WeekDayStart ) {
+        $WeekDayStart = 1;
+    }
 
     # Datepicker
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.