Révision 7e72b748
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/ctools/plugins/content_types/node_context/node_content.inc | ||
---|---|---|
27 | 27 |
* Render the node content. |
28 | 28 |
*/ |
29 | 29 |
function ctools_node_content_content_type_render($subtype, $conf, $panel_args, $context) { |
30 |
if (!empty($context) && empty($context->data)) {
|
|
30 |
if (!empty($context) && ( empty($context->data) || empty($context->data->nid)) ){
|
|
31 | 31 |
return; |
32 | 32 |
} |
33 | 33 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules