Skip to content
Snippets Groups Projects
Commit 5fbf8ae1 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Follow-up to #1245094 by agoradesign: menu links not really fixed.

parent 8b1900b1
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -64,7 +64,7 @@ class FeedsNodeProcessor extends FeedsProcessor {
if (!empty($node->menu)) { if (!empty($node->menu)) {
// If the node has a menu item(with a valid mlid) it must be flagged // If the node has a menu item(with a valid mlid) it must be flagged
// 'enabled'. // 'enabled'.
$node->menu['link']['enabled'] = (int) (bool) $node->menu['link']['mlid']; $node->menu['enabled'] = (int) (bool) $node->menu['mlid'];
} }
// Populate properties that are set by node_object_prepare(). // Populate properties that are set by node_object_prepare().
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment