Changeset 93185 in spip-zone


Ignore:
Timestamp:
Nov 26, 2015, 3:12:28 PM (5 years ago)
Author:
marcimat@…
Message:

Notice PHP en moins semble t'il.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/oembed_pipelines.php

    r87173 r93185  
    146146 */
    147147function oembed_post_edition($flux) {
    148         if($flux['args']['action']=='ajouter_document' AND $flux['data']['oembed']){
     148        if ($flux['args']['action']=='ajouter_document' AND !empty($flux['data']['oembed'])){
    149149                $id_document = $flux['args']['id_objet'];
    150150                if ($data = oembed_recuperer_data($flux['data']['oembed'])){
Note: See TracChangeset for help on using the changeset viewer.