Actions
Bug #20147
closedtypo3ajax->addContent doe not add boolean content with "false" content
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-03-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When doing the following:
$ajaxObj->addContent('success', false);
Only an empty array gets returned.
Patch is included, but the return mechanism of the old value might be misleading if the former value was actually a boolean false.
change line 117 in class.typo3ajax.php to:
if (!isset($content) || (!strlen($content) && $content !== false)) {
(issue imported from #M10640)
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
- Is Regression set to No
No feedback for over 90 days.
Actions