DataObjects/Core_email.php
authorEdward <edward@roojs.com>
Tue, 8 Jul 2014 09:16:09 +0000 (17:16 +0800)
committerEdward <edward@roojs.com>
Tue, 8 Jul 2014 09:16:09 +0000 (17:16 +0800)
DataObjects/Core_email.php

index bdc10b1..105ae4b 100644 (file)
@@ -277,7 +277,7 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         
         $cachePath = session_save_path() . '/email-cache-' . $ui['name'] . '/mail/' . $this->tableName() . '-' . $this->id . '.txt';
         
-        if(!$this->isGenerated($cachePath)){
+        if($force || !$this->isGenerated($cachePath)){
             $this->cachedMailWithOutImages($force, false);
         }