From c2420aa5d91fc6480d810d1a1414b79e3a994e2f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 28 Feb 2018 19:20:02 +0100 Subject: [PATCH] Fix import alternative alias --- htdocs/website/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('/(.*)<\/title>/ims', $head, $regtmp)) {