$destination=%node:url;
echo $destination;

Generates - Parse error: syntax error, unexpected ':' in /home/edelib/public_html/modules/php/php.module(80) : eval()'d code on line 2

If you use $destination=%node:nid; it works fine

Comments

Letharion’s picture

Assigned: Unassigned » merlinofchaos
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

@merlinofchaos, is this intended to be supported? Search-replace on code seems dangerous.

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

It is meant to be supported, but it's a string and you need to put strings in quotes. i.e,

  $destination = "%node:url";

My guess is the : it's running into is in http: not node: