#14480array_unique not being fed arrays
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.