Fix notice in calendar.php