/**
* date.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Takes a date and parses it into a usable format. The form that a
*/
/* validate zone before we uses strtotime */
- if (isset($dateParts[6]) && $dateParts[6]{0} != '(') {
+ if (isset($dateParts[6]) && $dateParts[6] && $dateParts[6]{0} != '(') {
$dateParts[6] = '('.$dateParts[6].')';
}
$string = implode (' ', $dateParts);