projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1711e52
)
Fix undefined value
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 30 Jul 2009 03:09:24 +0000
(21:09 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 30 Jul 2009 03:09:24 +0000
(21:09 -0600)
imp/lib/Sentmail.php
patch
|
blob
|
history
diff --git
a/imp/lib/Sentmail.php
b/imp/lib/Sentmail.php
index
08f7fb8
..
9b57295
100644
(file)
--- a/
imp/lib/Sentmail.php
+++ b/
imp/lib/Sentmail.php
@@
-136,7
+136,7
@@
class IMP_Sentmail
*/
public function gc()
{
- $this->_deleteOldEntries(time() -
$this->_params['threshold'] * 86400
);
+ $this->_deleteOldEntries(time() -
((isset($this->_params['threshold']) ? $this->_params['threshold'] : 0) * 86400)
);
}
/**