There is no clear option in token_replace method called on ds.module line 970.
So if we put token in custom code field and this token return nothing, token code display (ex: if node has no parents menu item, [node:menu-link:root:title] token print [node:menu-link:root:title] instead of printing nothing)

I put a patch on next comment

Comments

goz’s picture

Status: Active » Needs review
StatusFileSize
new910 bytes

Here is the patch

swentel’s picture

Status: Needs review » Fixed

Cool, didn't even know that existed. Committed and pushed, thanks!

Status: Fixed » Closed (fixed)

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