diff options
Diffstat (limited to 'app/Utils/dotNotationUtil.php')
| -rw-r--r-- | app/Utils/dotNotationUtil.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Utils/dotNotationUtil.php b/app/Utils/dotNotationUtil.php index 73addbe74..620ed7db1 100644 --- a/app/Utils/dotNotationUtil.php +++ b/app/Utils/dotNotationUtil.php @@ -31,7 +31,7 @@ final class FreshRSS_dotNotation_Util if (static::exists($array, $key)) { return $array[$key]; } - if (strpos($key, '.') === false) { + if (str_contains($key, '.') === false) { return $array[$key] ?? static::value($default); } foreach (explode('.', $key) as $segment) { |
