Changeset 99158 in spip-zone


Ignore:
Timestamp:
Aug 14, 2016, 9:37:43 AM (3 years ago)
Author:
marcimat@…
Message:

Notice PHP en moins lors de l'appel à copie_locale()

Location:
_plugins_/oembed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/oembed_pipelines.php

    r98862 r99158  
    151151 */
    152152function oembed_post_edition($flux) {
    153         if ($flux['args']['action']=='ajouter_document' and !empty($flux['data']['oembed'])) {
     153        if (
     154                isset($flux['args']['action'])
     155                and $flux['args']['action'] == 'ajouter_document'
     156                and !empty($flux['data']['oembed'])
     157        ) {
    154158                $id_document = $flux['args']['id_objet'];
    155159                if ($data = oembed_recuperer_data($flux['data']['oembed'])) {
  • _plugins_/oembed/paquet.xml

    r98862 r99158  
    22        prefix="oembed"
    33        categorie="multimedia"
    4         version="1.6.5"
     4        version="1.6.6"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.