projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e0458
)
DataObjects/Core_mailing_list_message.php
author
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 09:34:05 +0000
(17:34 +0800)
committer
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 09:34:05 +0000
(17:34 +0800)
DataObjects/Core_mailing_list_message.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_mailing_list_message.php
b/DataObjects/Core_mailing_list_message.php
index
9d1ae54
..
2a31a28
100644
(file)
--- a/
DataObjects/Core_mailing_list_message.php
+++ b/
DataObjects/Core_mailing_list_message.php
@@
-228,6
+228,8
@@
class Pman_Core_DataObjects_Core_mailing_list_message extends DB_DataObject
function cachedMailWithOutImages($force = false, $replace_links = true)
{
+ $random_hash = md5(date('r', time()));
+
$this->cachedImages($random_hash);
$cachePath = session_save_path() . '/email-cache-' . getenv('APACHE_RUN_USER') . '/mail/' . $this->tableName() . '-' . $this->id . '.txt';
@@
-252,7
+254,7
@@
class Pman_Core_DataObjects_Core_mailing_list_message extends DB_DataObject
))."\n");
- $random_hash = md5(date('r', time()));
+
// note the extra space to finish the last line..
fwrite($fh, " " . "