Ignore:
Timestamp:
05/07/07 15:06:04 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.uialarm.inc.php

    r22 r23  
    133133                                        (int)($_POST['time']['mins'])*60; 
    134134                                $alarm_time = $start_event - $time; 
     135                                 
     136                                if ($alarm_time <= time()) 
     137                                { 
     138                                        echo "Alarm is older than now!!!"; 
     139                                        $GLOBALS['phpgw']->common->phpgw_exit(True); 
     140                                } 
    135141                                 
    136142                                foreach ( $this->bo->bo->so->cal->event['alarm'] as $object ){ 
Note: See TracChangeset for help on using the changeset viewer.