]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/rdf.class.php
Introduced new wrapper functions to make the code more readable, new extension ext...
[mailer.git] / inc / classes / rdf.class.php
index c74eada6fbed6715bc17f71af1c8dd9dc4aaa895..9c9a0a2ff0d5ee108ad9784a3158de2ef9999a5d 100644 (file)
@@ -1025,7 +1025,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 +1385,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;
                                }