Active
Project:
Modal Frame CCK Editor
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2011 at 21:10 UTC
Updated:
15 Dec 2011 at 21:10 UTC
I needed to support display suite, so I had to change the check on build mode to this
if ($node->build_mode === NODE_BUILD_NORMAL || !is_numeric($node->build_mode)) {
if ($element['#node']->build_mode === NODE_BUILD_NORMAL || !is_numeric($element['#node']->build_mode)) {