[otrs-cvs] otrs/Kernel/Output/HTML Layout.pm, 1.381.2.15, 1.381.2.16

"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-serv2158/Kernel/Output/HTML

Modified Files:
      Tag: rel-3_1
	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.381.2.15
retrieving revision 1.381.2.16
diff -2 -u -d -r1.381.2.15 -r1.381.2.16
--- Layout.pm	30 Jan 2013 14:14:04 -0000	1.381.2.15
+++ Layout.pm	13 Feb 2013 17:04:35 -0000	1.381.2.16
@@ -3118,5 +3118,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.