diff --git a/src/Resources/contao/classes/WibImport.php b/src/Resources/contao/classes/WibImport.php index 04254e3..76404ff 100644 --- a/src/Resources/contao/classes/WibImport.php +++ b/src/Resources/contao/classes/WibImport.php @@ -215,6 +215,14 @@ protected function getValueFromStringUrl($url, $parameter) return $query[$parameter]; } } + if (isset($parts['path'])) + { + $arrPathFragments = explode('/', $parts['path']); + if (count($arrPathFragments)) + { + return end($arrPathFragments); + } + } return null; }