Révision e4c061ad
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/ctools/plugins/content_types/node_context/node_updated.inc | ||
---|---|---|
20 | 20 |
* Render the custom content type. |
21 | 21 |
*/ |
22 | 22 |
function ctools_node_updated_content_type_render($subtype, $conf, $panel_args, $context) { |
23 |
if (empty($context) || empty($context->data)) { |
|
23 |
if (empty($context) || empty($context->data) || empty($context->data->nid)) {
|
|
24 | 24 |
return; |
25 | 25 |
} |
26 | 26 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules