Needs review
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.21
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Jan 2024 at 07:54 UTC
Updated:
11 Jan 2024 at 07:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
arif.zisu commentedComment #3
arif.zisu commenteddiff --git a/docroot/sites/all/modules/contrib/ctools/includes/content.inc b/docroot/sites/all/modules/contrib/ctools/includes/content.inc
index 49c356502..0c67c91d0 100644
--- a/docroot/sites/all/modules/contrib/ctools/includes/content.inc
+++ b/docroot/sites/all/modules/contrib/ctools/includes/content.inc
@@ -293,7 +293,7 @@ function ctools_content_render($type, $subtype, $conf, $keywords = array(), $arg
$content = $function($subtype, $conf, $args, $pane_context, $incoming_content);
- if (empty($content)) {
+ if (empty($content) || !is_object($content)) {
return;
}
This patch solved my issue.
Comment #5
viren18febs commentedi have added a patch with these changes .