Changeset 4920 for branches/2.3


Ignore:
Timestamp:
08/12/11 16:42:11 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #2200 - Evento sem duração em conflito com outro não é apresentado...

Location:
branches/2.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/calendar/inc/class.bocalendar.inc.php

    r4604 r4920  
    17581758                        elseif ($GLOBALS['phpgw']->datetime->date_compare($event['start']['year'],$event['start']['month'],$event['start']['mday'],$event['end']['year'],$event['end']['month'],$event['end']['mday']) == 0) 
    17591759                        { 
    1760                                 if ($GLOBALS['phpgw']->datetime->time_compare($event['start']['hour'],$event['start']['min'],0,$event['end']['hour'],$event['end']['min'],0) == 1) 
     1760                                if ( ($GLOBALS['phpgw']->datetime->time_compare($event['start']['hour'],$event['start']['min'],0,$event['end']['hour'],$event['end']['min'],0) == 1) 
     1761                                   ||($GLOBALS['phpgw']->datetime->time_compare($event['start']['hour'],$event['start']['min'],0,$event['end']['hour'],$event['end']['min'],0) == 0) ) 
    17611762                                { 
    17621763                                        $error = 47; 
  • branches/2.3/phpgwapi/inc/class.common.inc.php

    r3966 r4920  
    18391839                                case 46: $s .= lang('Recurrent appointments must have a final date').'.'; 
    18401840                                        break; 
    1841                                 case 47: $s .= lang('The starting time can not be greater than end time').'.'; 
     1841                                case 47: $s .= lang('End time can not be less than or equal to start time').'.'; 
    18421842                                        break; 
    18431843                                case 99: $s .= lang('The attachment is to big').'.'; 
Note: See TracChangeset for help on using the changeset viewer.