Vergleich inc/datahandlers/event.php - 1.6.9 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 103Zeile 103
			$this->set_error("invalid_start_date");
return false;
}

			$this->set_error("invalid_start_date");
return false;
}

 
		
$event['start_date']['day'] = intval($event['start_date']['day']);
$event['start_date']['month'] = intval($event['start_date']['month']);
$event['start_date']['year'] = intval($event['start_date']['year']);


if($event['start_date']['day'] > date("t", mktime(0, 0, 0, $event['start_date']['month'], 1, $event['start_date']['year'])))
{


if($event['start_date']['day'] > date("t", mktime(0, 0, 0, $event['start_date']['month'], 1, $event['start_date']['year'])))
{

Zeile 132Zeile 136
				$this->set_error("invalid_end_date");
return false;
}

				$this->set_error("invalid_end_date");
return false;
}

 
		
$event['end_date']['day'] = intval($event['end_date']['day']);
$event['end_date']['month'] = intval($event['end_date']['month']);
$event['end_date']['year'] = intval($event['end_date']['year']);


if($event['end_date']['day'] > date("t", mktime(0, 0, 0, $event['end_date']['month'], 1, $event['end_date']['year'])))
{


if($event['end_date']['day'] > date("t", mktime(0, 0, 0, $event['end_date']['month'], 1, $event['end_date']['year'])))
{