aboutsummaryrefslogtreecommitdiff
path: root/lib/SimplePie
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-07 14:27:46 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-07 14:27:46 +0200
commitd008b6c1a7488b99e77287ba14f1fff3ec1a116b (patch)
treea0c68e175e36af10e9602e555bf794a90d66be7c /lib/SimplePie
parentd413f67dd28738f4a6d8cf036e00714737f757b8 (diff)
parent0eb535e3ac9269d39d2ea7856c4c5532c3296a55 (diff)
Merge pull request #2338 from FreshRSS/dev1.14.1
FreshRSS 1.14.1
Diffstat (limited to 'lib/SimplePie')
-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)
{