Switch calls to deprecated mktime() to time().