Projet

Général

Profil

Révision 136a805a

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/content_types/comment/comment_reply_form.inc
25 25

  
26 26
function ctools_comment_reply_form_content_type_render($subtype, $conf, $panel_args, $context) {
27 27

  
28
  $comment = ($context[1]->identifier == t('No context')) ? NULL : clone($context[1]->data);
28
  $comment = ($context[1]->identifier == t('No context')) ? NULL : clone $context[1]->data;
29 29
  $block = new stdClass();
30 30
  $block->module = 'comments';
31 31
  if ($comment) $block->delta  = $comment->cid;

Formats disponibles : Unified diff