Closed (fixed)
Project:
Preview
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2009 at 17:59 UTC
Updated:
6 May 2009 at 18:10 UTC
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
Comment #1
doq commentedFixed in dev.