mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-24 02:16:08 +03:00
This was upgraded from a warning to an error in php 8.
This commit is contained in:
parent
2bbce8ebef
commit
eef45d4e8d
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue