projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46c956a
)
Catch messages with no date header
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 7 Apr 2010 13:59:58 +0000
(07:59 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 7 Apr 2010 13:59:58 +0000
(07:59 -0600)
imp/lib/Ui/Mailbox.php
patch
|
blob
|
history
diff --git
a/imp/lib/Ui/Mailbox.php
b/imp/lib/Ui/Mailbox.php
index
c36c196
..
f3f290e
100644
(file)
--- a/
imp/lib/Ui/Mailbox.php
+++ b/
imp/lib/Ui/Mailbox.php
@@
-199,6
+199,10
@@
class IMP_Ui_Mailbox
*/
public function getDate($date)
{
+ if (empty($date)) {
+ return _("Unknown Date");
+ }
+
if (!isset($this->_cache['today_start'])) {
$this->_cache['today_start'] = strtotime('today');
$this->_cache['today_end'] = strtotime('today + 1 day');