When comparing data in if-statements, the variable should be first and the value the second item.

// So:
if ($form_id == 'node_configure') {}
// instead of:
if ('node_configure' == $form_id) {}

Comments

doq’s picture

Status: Active » Fixed

Fixed in dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.