diff options
author | 2019-02-24 11:56:43 +0100 | |
---|---|---|
committer | 2019-02-24 11:56:43 +0100 | |
commit | e3588f62bde583a335b0cfc024b7b7baba35db5c (patch) | |
tree | 6890d58a6b26d8da7b98a586e38f567947f39e15 | |
parent | 958ba815c72c3ade0401702601273cacc07e8127 (diff) | |
download | rss-bridge-e3588f62bde583a335b0cfc024b7b7baba35db5c.tar.gz rss-bridge-e3588f62bde583a335b0cfc024b7b7baba35db5c.tar.zst rss-bridge-e3588f62bde583a335b0cfc024b7b7baba35db5c.zip |
[Cache] Fix cache types ending on 'cache' are not detected correctly
References #1000
-rw-r--r-- | lib/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Cache.php b/lib/Cache.php index 6826d4cc..6c2943ad 100644 --- a/lib/Cache.php +++ b/lib/Cache.php @@ -193,7 +193,7 @@ class Cache { } // Trim trailing 'Cache' if exists - if(preg_match('/(.+)(?:Cache)/i', $name, $matches)) { + if(preg_match('/(.+)(?:Cache)$/i', $name, $matches)) { $name = $matches[1]; } |