Actions
Feature #21145
closedTS-Condition "userFunc" takes only first parameter
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-28
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
Using the following condition "[userFunc = user_match(66,28,98)]", the userfunc gets only the first parameter, because in class.t3lib_matchcondition.php in
function evalConditionStr($string) only $funcValue0 is handed over instead $funcValue
if (function_exists($funcName) && call_user_func($funcName, $funcValue0))
{
return true;
}
Changing this to
if (function_exists($funcName) && call_user_func($funcName, $funcValue))
{
return true;
}
would allow more than one parameter.
(issue imported from #M12069)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Actions