Fix import alternative alias

This commit is contained in:
Laurent Destailleur 2018-02-28 19:20:02 +01:00
parent de9f1aab0f
commit c2420aa5d9

View File

@ -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>(.*)<\/title>/ims', $head, $regtmp))
{