Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -203,8 +203,8 @@ |
204 | 204 | # Set variables |
205 | 205 | $value = isset($args[0]) ? trim($frame->expand($args[0])) : ''; |
206 | 206 | $delimiter = isset($args[1]) ? trim($frame->expand($args[1])) : ','; |
207 | | - $var = isset($args[2]) ? trim($frame->expand($args[2])) : 'x'; |
208 | | - $formula = isset($args[3]) ? trim($frame->expand($args[3])) : 'x'; |
| 207 | + $var = isset($args[2]) ? trim($frame->expand($args[2], PPFrame::NO_ARGS | PPFrame::NO_TEMPLATES)) : 'x'; |
| 208 | + $formula = isset($args[3]) ? $args[3] : 'x'; |
209 | 209 | $new_delimiter = isset($args[4]) ? trim($frame->expand($args[4])) : ', '; |
210 | 210 | # Unstrip some |
211 | 211 | $delimiter = $parser->mStripState->unstripNoWiki($delimiter); |