diff --git a/bridges/IvooxBridge.php b/bridges/IvooxBridge.php index 4306cbf7..0034175d 100644 --- a/bridges/IvooxBridge.php +++ b/bridges/IvooxBridge.php @@ -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;