]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/rdf.class.php
Installer content encapsulated in inc/install-functions.php
[mailer.git] / inc / classes / rdf.class.php
index c74eada6fbed6715bc17f71af1c8dd9dc4aaa895..da82f0349f97f260bf7a6073530b53b80bce7676 100644 (file)
@@ -68,11 +68,12 @@ class fase4_rdf {
         *
         * "htmlentities" - Use the function htmlentities()
         * "utf8_decode"  - Use the function ut8_decode() when you have UTF8 encoded text
+        * <empty>        - Use non of both
         *
         * @access private
         * @var    string
         */
-       var $_decoding_mode = 'utf8_decode';
+       var $_decoding_mode = '';
 
        /**
         * If $_link_target is set a target='xxx' attribute in each <a /> and <form accept-charset="utf-8" /> html tag will be added
@@ -1025,7 +1026,7 @@ class fase4_rdf {
 
                $_cache_f = $this->_cache_dir.$this->_cached_file;
 
-               if ( (!file_exists($_cache_f)) || (filemtime($_cache_f) < $this->_refresh) || (filesize($_cache_f) == '0')) {
+               if ( (!file_exists($_cache_f)) || (filemtime($_cache_f) < $this->_refresh) || (filesize($_cache_f) == 0)) {
                        // We have to parse the remote file
                        $this->_use_cached_file = false;
                        // --> we want to provide proper Information for Use in
@@ -1385,7 +1386,7 @@ class fase4_rdf {
                                        }
                                        $i++;
                                }
-                               if ((count($dummy) > 0) && (count($reply) == '0') && (!$isContent)) {
+                               if ((count($dummy) > 0) && (count($reply) == 0) && (!$isContent)) {
                                        // Transfer content from dummy
                                        $reply = $content;
                                }