mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-03 16:19:45 +00:00
This was upgraded from a warning to an error in php 8.
This commit is contained in:
parent
2bbce8ebef
commit
eef45d4e8d
@ -121,6 +121,10 @@ class IvooxBridge extends BridgeAbstract
|
||||
foreach ($originalLocales as $localeSetting) {
|
||||
if (strpos($localeSetting, '=') !== false) {
|
||||
[$category, $locale] = explode('=', $localeSetting);
|
||||
if (! defined($category)) {
|
||||
continue;
|
||||
}
|
||||
$category = constant($category);
|
||||
} else {
|
||||
$category = LC_ALL;
|
||||
$locale = $localeSetting;
|
||||
|
Loading…
Reference in New Issue
Block a user