From: Roland Häder Date: Wed, 9 Jan 2013 20:15:17 +0000 (+0000) Subject: Save cache 'compacted' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c7ae5df9526fd56d8c4147a1a0b046d8c87bd542;p=mailer.git Save cache 'compacted' --- diff --git a/inc/classes/rdf.class.php b/inc/classes/rdf.class.php index 6269c507ff..23df025b28 100644 --- a/inc/classes/rdf.class.php +++ b/inc/classes/rdf.class.php @@ -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) { diff --git a/inc/template-functions.php b/inc/template-functions.php index a9de28da56..9b07f6b3a0 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -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