Skip to content
Extraits de code Groupes Projets
Valider 416f0f69 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

Bien transmettre une string à l’ancre de generer_objet_url

parent f28ab700
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -215,7 +215,7 @@ function urls_transition_retrouver_anciennes_url_html(string $url, string $entit ...@@ -215,7 +215,7 @@ function urls_transition_retrouver_anciennes_url_html(string $url, string $entit
or (defined('_VAR_PREVIEW') and _VAR_PREVIEW and autoriser('voir', $type, $id_objet)) or (defined('_VAR_PREVIEW') and _VAR_PREVIEW and autoriser('voir', $type, $id_objet))
) )
) { ) {
[, $hash] = array_pad(explode('#', $url_propre), 2, null); [, $hash] = array_pad(explode('#', $url_propre), 2, '');
$args = []; $args = [];
foreach (array_filter(explode('&', $suite)) as $fragment) { foreach (array_filter(explode('&', $suite)) as $fragment) {
if ($fragment != "$_id=$id_objet") { if ($fragment != "$_id=$id_objet") {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter