aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-06 15:51:00 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-06 15:51:00 +0200
commit0fb21e1473e36fcf265d09364d86e5af507faeba (patch)
tree3f3956eee5afca77ba7f880783ff3252925c01f9 /lib
parent74f92658b71e602d7fff3bbd249e3ea8869fa2ad (diff)
SimplePie 604 (#2350)
Cherry-pick https://github.com/simplepie/simplepie/pull/604
Diffstat (limited to 'lib')
-rw-r--r--lib/SimplePie/SimplePie/Cache/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SimplePie/SimplePie/Cache/File.php b/lib/SimplePie/SimplePie/Cache/File.php
index 6ba6c5f6e..a09dea637 100644
--- a/lib/SimplePie/SimplePie/Cache/File.php
+++ b/lib/SimplePie/SimplePie/Cache/File.php
@@ -101,7 +101,7 @@ class SimplePie_Cache_File implements SimplePie_Cache_Base
*/
public function save($data)
{
- if (file_exists($this->name) && is_writeable($this->name) || file_exists($this->location) && is_writeable($this->location))
+ if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_writable($this->location))
{
if ($data instanceof SimplePie)
{