Actions
Bug #14480
closedarray_unique not being fed arrays
Start date:
2005-01-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
A recent production server began complaining that external files didn't have the keywords, description, or body fields in "function procesWordsInArrays($contentArr)".
I have to admit I quickly tried finding the original point of the problem, but ran out of time and setup the following hack at line 469 of indexed_search/class.indexer.php.
// MLC ensure keys are available
$defaultContentArray = array(
'title' => array()
, 'description' => array()
, 'keywords' => array()
, 'body' => array()
);
$contentArr = array_merge( $defaultContentArray
, $contentArr
);
(issue imported from #M662)
Files
Updated by Michael Stucki almost 20 years ago
I think the problem only occurs if no title is found.
See my patch which should fix the problem. Please give me a feedback if it works.
Updated by Michael Stucki about 19 years ago
It seems this has been fixed in 3.8.0.
Actions