Changeset 123156 in spip-zone


Ignore:
Timestamp:
Mar 26, 2020, 6:59:17 PM (3 months ago)
Author:
Matthieu Marcillaud
Message:

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

Location:
_core_/plugins/forum
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/forum

    • Property subgit:lock:1dde497b9949fe0322528559a0187cbac7a445a2 deleted
    • Property subgit:lock:7a065bc8f0eef13cb879d7f23126f176b40ab158 set to 2020-03-26T20:00:22.216
  • _core_/plugins/forum/formulaires/forum.html

    r111773 r123156  
    8080                </div>]
    8181                <div>
    82                 [<label for="ajouter_document"><:forum:extensions_autorisees:> (#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|join{', '},#ENV{formats_documents_forum}})</label>]
     82                [<label for="ajouter_document"><:forum:extensions_autorisees:> (#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|implode{', '},#ENV{formats_documents_forum}})</label>]
    8383                <input class='file' type="file" name="ajouter_document" id="ajouter_document"[
    84                 accept="(#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|join{', '},''})"] />
     84                accept="(#ENV{formats_documents_forum}|is_array|?{#ENV{formats_documents_forum}|implode{', '},''})"] />
    8585                </div>
    8686        </div>
Note: See TracChangeset for help on using the changeset viewer.