Commit 14827cae authored by fmitchell's avatar fmitchell

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
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.
#1795898: Return unique events when using multiple machines
#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() {
* Adds a "state" property on nodes that are configured with state flow.
*/
function state_flow_entity_property_info_alter(&$info) {
if (is_array($info)) {
if (isset($info['node'])) {
if (!array_key_exists('bundles', $info['node'])) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment