str_replace / by _ in labels of permalinks

This commit is contained in:
Benoît Burnichon
2016-05-20 17:19:46 +02:00
parent 9c287e0cd9
commit 2d60fe854e
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class PermalinkController extends AbstractDelivery
'sbas_id' => $sbas_id,
'record_id' => $record_id,
'subdef' => $subdefName,
'label' => $record->get_title(),
'label' => str_replace('/', '_', $record->get_title()),
'token' => $token,
]
);