Not really, but every $nid passed in the _frontnode_frontpage($nid) function will return true because the wrong comparison operator is being used within that function.

This results in the checkbox option "Use this node as the front page" being checked on every node edit form that it appears on. (When adding a node this is not a problem because there is not yet a $nid). The equality operator is used, but the identical operator should be used here. For more info see http://www.php.net/ternary

Attached is a patch, or go to line 90 and change "==" to "===".

CommentFileSizeAuthor
frontnode.identical-operator.patch683 byteslee20

Comments

e-direct’s picture

Will check it and patch it if confirmed. Thanks.