Closed (works as designed)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Panel pages
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Mar 2012 at 13:16 UTC
Updated:
25 Apr 2012 at 18:05 UTC
$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: