BF [ 2767913 ] - PosReportManager: incorrect use of s_date1/s_date2

see: https://sourceforge.net/forum/forum.php?thread_id=3207894&forum_id=610548
This commit is contained in:
mjudd 2009-04-16 07:59:44 +00:00
parent 5689be86cf
commit 6e73ead053
1 changed files with 2 additions and 2 deletions

View File

@ -2992,14 +2992,14 @@ public class POSReportManager {
int end_month = 0; int end_month = 0;
int end_year = 0; int end_year = 0;
if (s_date1 != null); if (s_date1 != null)
{ {
begin_month = Integer.parseInt(s_date1[1]); begin_month = Integer.parseInt(s_date1[1]);
begin_year = Integer.parseInt(s_date1[2]); begin_year = Integer.parseInt(s_date1[2]);
} }
if (s_date2 != null); if (s_date2 != null)
{ {
end_month = Integer.parseInt(s_date2[1]); end_month = Integer.parseInt(s_date2[1]);
end_year = Integer.parseInt(s_date2[2]); end_year = Integer.parseInt(s_date2[2]);