diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 6cd9705ae21..f141c6cf417 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -330,7 +330,7 @@ if ($action == 'addcontainer') } $objectpage->aliasalt = ''; - if (preg_match('/^(\d+)\-/', basename($pageurl), $reg)) $objectpage->aliasalt = $reg[0]; + if (preg_match('/^(\d+)\-/', basename($urltograb), $reg)) $objectpage->aliasalt = $reg[1]; if (preg_match('/