Skip to content
Snippets Groups Projects
Commit 14827cae authored by Fredric Mitchell's avatar Fredric Mitchell
Browse files

Issue #1830592 by brantwynn: Fixed Undefined index for node in...

Issue #1830592 by brantwynn: Fixed Undefined index for node in state_flow_entity_property_info_alter().
parent adfd8c66
No related branches found
No related tags found
No related merge requests found
7.x-2.x 7.x-2.x
-------------- --------------
#1830592: Undefined index for node in state_flow_entity_property_info_alter()
#1836562 by raystuart: Fixed Move the scheduled event_comment() inside if. #1836562 by raystuart: Fixed Move the scheduled event_comment() inside if.
#1795898: Return unique events when using multiple machines #1795898: Return unique events when using multiple machines
#1803668: Fixed Modify permission to use for allowing access to update options on content-revisions page. #1803668: Fixed Modify permission to use for allowing access to update options on content-revisions page.
......
...@@ -106,7 +106,7 @@ function state_flow_ctools_plugin_type() { ...@@ -106,7 +106,7 @@ function state_flow_ctools_plugin_type() {
* Adds a "state" property on nodes that are configured with state flow. * Adds a "state" property on nodes that are configured with state flow.
*/ */
function state_flow_entity_property_info_alter(&$info) { function state_flow_entity_property_info_alter(&$info) {
if (is_array($info)) { if (isset($info['node'])) {
if (!array_key_exists('bundles', $info['node'])) { if (!array_key_exists('bundles', $info['node'])) {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment