$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
$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
Comment #1
Letharion commented@merlinofchaos, is this intended to be supported? Search-replace on code seems dangerous.
Comment #2
merlinofchaos commentedIt is meant to be supported, but it's a string and you need to put strings in quotes. i.e,
My guess is the : it's running into is in http: not node: