When Custom Breadcrumbs rule with PHP snippet is saved, module tries to evaluate the PHP immediately. But $node variable isn't available at that time, and that makes save process produce warnings and, in some cases, even fatal errors, so preventing the data from being saved.

Comments

MGN’s picture

Status: Active » Closed (duplicate)

Please test the patch in #701902: php code is not evaluated. Thanks.

marrch_caat’s picture

The patch works OK, thank you. I'd suppose applying it to the dev branch and including in the next release.