Projet

Général

Profil

Révision 560c3060

Ajouté par Julien Enselme il y a plus de 8 ans

Update ctools 1.7 -> 1.9

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/export_ui/ctools_export_ui.class.php
724 724
      // Export the handler, which is a fantastic way to clean database IDs out of it.
725 725
      $export = ctools_export_crud_export($this->plugin['schema'], $original);
726 726
      $item = ctools_export_crud_import($this->plugin['schema'], $export);
727
      $item->{$this->plugin['export']['key']} = 'clone_of_' . $item->{$this->plugin['export']['key']};
727

  
728
      if (!empty($input[$this->plugin['export']['key']])) {
729
        $item->{$this->plugin['export']['key']} = $input[$this->plugin['export']['key']];
730
      }
731
      else {
732
        $item->{$this->plugin['export']['key']} = 'clone_of_' . $item->{$this->plugin['export']['key']};
733
      }
728 734
    }
729 735

  
730 736
    // Tabs and breadcrumb disappearing, this helps alleviate through cheating.

Formats disponibles : Unified diff