Project

General

Profile

Bug #50095 » 50095-patch1.diff

Chris Müller, 2013-10-21 15:10

View differences:

SearchFormController.php 2013-10-21 15:01:25.429394824 +0200
// Write search statistics
$this->writeSearchStat($sWArr, $resData['count'], array($pt1, $pt2, $pt3));
// Return content:
return $accumulatedContent;
}
......
// Always expect that page content exists
if ($row['item_type']) {
// External media:
if (!is_file($row['data_filename']) || !file_exists($row['data_filename'])) {
$filename = \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_DOCUMENT_ROOT') . $row['data_filename'];
if (!is_file($filename) || !file_exists($filename)) {
$recordExists = FALSE;
}
}
    (1-1/1)