Browse Source

Compat PHP 7.4 : utiliser le filtre |implode (de SPIP) pour éviter un deprecated :

Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters
svn/root/plugins/forum
Matthieu Marcillaud 1 year ago
parent
commit
c3f34fac75
  1. 4
      formulaires/forum.html

4
formulaires/forum.html

@ -79,9 +79,9 @@
<:lien_supprimer:></label>
</div>]
<div>
[<label for="ajouter_document"><:forum:extensions_autorisees:> (#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|join{', '},#ENV{formats_documents_forum}})</label>]
[<label for="ajouter_document"><:forum:extensions_autorisees:> (#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|implode{', '},#ENV{formats_documents_forum}})</label>]
<input class='file' type="file" name="ajouter_document" id="ajouter_document"[
accept="(#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|join{', '},''})"] />
accept="(#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|implode{', '},''})"] />
</div>
</div>
</div></fieldset>

Loading…
Cancel
Save