search.php
// determines Itemid for Content items where itemid has not been included
if ( isset($rows[$i]->type) && @$link['task'] == 'view' && isset($link['id']) && !isset($link['Itemid']) ) {
$itemid = '';
$_itemid = $mainframe->getItemid( $link['id'], 0 );
if ($_itemid) {
$itemid = '&Itemid='. $_itemid;
}
// Modificación busqueda erronea 31 de octubre 2008
//$rows[$i]->href = $rows[$i]->href . $itemid;
$itemid='';
$rows[$i]->href = $rows[$i]->href . $itemid;
}
}
}