Project

General

Profile

Actions

Bug #14480

closed

array_unique not being fed arrays

Added by Michael Cannon almost 20 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
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

0000662-class.indexer.php.diff (650 Bytes) 0000662-class.indexer.php.diff Administrator Admin, 2005-02-10 10:16
Actions

Also available in: Atom PDF