Project

General

Profile

Actions

Feature #21145

closed

TS-Condition "userFunc" takes only first parameter

Added by Matthias Stübner over 14 years ago. Updated over 10 years ago.

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)

Actions #1

Updated by Alexander Opitz almost 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)?

Actions #2

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF