Project

General

Profile

Bug #21812 » 12958.diff

Administrator Admin, 2009-12-07 10:30

View differences:

typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php (working copy)
// cHash parameters:
$arr = unserialize($row['cHashParams']);
if (is_array($arr)) {
$theCHash = $arr['cHash'];
unset($arr['cHash']);
if (!is_array($arr)) {
$arr = array(
'cHash' => $GLOBALS['LANG']->getLL('chash_error')
);
}
$theCHash = $arr['cHash'];
unset($arr['cHash']);
if ($row['item_type']) { // pdf...
$lines[] = '<td>'.($arr['key'] ? 'Page '.$arr['key'] : '').'&nbsp;</td>';
typo3/sysext/indexed_search/modfunc1/locallang.xml (working copy)
<data type="array">
<languageKey index="default" type="array">
<label index="title">Indexed search</label>
<label index="chash_error">Error!</label>
</languageKey>
</data>
</T3locallang>
(1-1/2)