diff --git a/artweb/artbox-core/components/SeoUrlManager.php b/artweb/artbox-core/components/SeoUrlManager.php index 36acd2d..b736fec 100755 --- a/artweb/artbox-core/components/SeoUrlManager.php +++ b/artweb/artbox-core/components/SeoUrlManager.php @@ -105,8 +105,8 @@ * Decide how much active languages (1) */ $count = count(Language::getActive()); - - if ($params[ 0 ] === 'site/index') { + + if (!empty($params[ 0 ]) && $params[ 0 ] === 'site/index') { if ($count > 1) { return '/'; } else { -- libgit2 0.21.4