Skip to content

fix : un warning sur resolve_path qui n'accepte pas null en entrée

RealET a demandé de fusionner gh-3abd0771/5211/unknown/refs/pull/5211/head vers master

Constaté sur un url_absolue( $url = 'http://spipmu4.localhost', $base = ??? ) appelant donc: suivre_lien( $url = 'http://spipmu4.localhost/ecrire/', $lien = 'http://spipmu4.localhost' ) Puis : resolve_path( $url = NULL ) Et enfin : explode( $separator = '?', $string = NULL, $limit = 2 )

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \inc\filtres_mini.php on line 38

(testé en SPIP 4.1 / PHP 8.1)

Rapports de requête de fusion