In the PHP Evaluation dropdown it says:
"PHP code inside of delimiters will be evaluated and replaced by its output. E.g. <? echo 1+1?> will be replaced by 2. Furthermore you can make use of the following variables:"

Under the php field it says
"The code that should be executed. Don't include delimiters."

Which one should I believe?

Comments

fago’s picture

Title: Execute custom PHP code - Contradicting Descriptions » Execute custom PHP code in CCK - Contradicting Descriptions
Component: Rules Engine » User interface

Both apply - indeed that is confusing ;) I guess you are talking about the CCK form.

Perhaps we should just hide the help of the PHP evaluator in that case or choose a wording to make it clear?

giorgio79’s picture

Hiding the one that does not apply should be good enough imho :)

TR’s picture

Component: User interface » Rules Core
Issue summary: View changes
Status: Active » Closed (outdated)