]> git.mxchange.org Git - mailer.git/commitdiff
Save cache 'compacted'
authorRoland Häder <roland@mxchange.org>
Wed, 9 Jan 2013 20:15:17 +0000 (20:15 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 9 Jan 2013 20:15:17 +0000 (20:15 +0000)
inc/classes/rdf.class.php
inc/template-functions.php

index 6269c507ffffb2e28a4baf2c2e3c7d89c073fa70..23df025b2817fbc5ef50ed81e62d8fa8c70e02ba 100644 (file)
@@ -1116,7 +1116,7 @@ class fase4_rdf {
        {
                if (defined('__SECURITY') && function_exists('writeToFile')) {
                        // Use mailer-project function
-                       return writeToFile($this->_cache_dir.$this->_cached_file, $content);
+                       return writeToFile($this->_cache_dir.$this->_cached_file, compactContent($content));
                }
                $_local = @fopen($this->_cache_dir.$this->_cached_file, 'w');
                if (!$_local) {
index a9de28da56482b5a006b42690b6be9a031b1436c..9b07f6b3a09fdd9006a7fe27e192d29b2b03fbc0 100644 (file)
@@ -2295,7 +2295,7 @@ function anonymizeSensitiveData ($data) {
 }
 
 /**
- * Removes all commentd, tabs and new-line characters to compact the content
+ * Removes all comments, tabs and new-line characters to compact the content
  *
  * @param      $uncompactedContent             The uncompacted content
  * @return     $compactedContent               The compacted content