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_title.inc | ||
---|---|---|
23 | 23 |
* Render the custom content type. |
24 | 24 |
*/ |
25 | 25 |
function ctools_node_title_content_type_render($subtype, $conf, $panel_args, $context) { |
26 |
if (empty($context) || empty($context->data)) {
|
|
26 |
if (!empty($context) && ( empty($context->data) || empty($context->data->nid)) ){
|
|
27 | 27 |
return; |
28 | 28 |
} |
29 | 29 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules