mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-25 14:48:40 +02:00
[Cache] Fix cache types ending on 'cache' are not detected correctly
References #1000
This commit is contained in:
parent
958ba815c7
commit
e3588f62bd
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class Cache {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Trim trailing 'Cache' if exists
|
// Trim trailing 'Cache' if exists
|
||||||
if(preg_match('/(.+)(?:Cache)/i', $name, $matches)) {
|
if(preg_match('/(.+)(?:Cache)$/i', $name, $matches)) {
|
||||||
$name = $matches[1];
|
$name = $matches[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue