Project

General

Profile

Bug #63952 ยป 0001-TASK-Add-fallback-for-headline-so-its-never-NULL.patch

Fallback - Benjamin Serfhos, 2014-12-17 10:49

View differences:

typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php
foreach ($results[$key] as $entryKey => $entryValue) {
$table = $entryValue['table'];
$record = array();
$record['headline'] = $entryValue['row'][$GLOBALS['TCA'][$table]['ctrl']['label']];
$record['headline'] = (!empty($entryValue['row'][$GLOBALS['TCA'][$table]['ctrl']['label']]) ? $entryValue['row'][$GLOBALS['TCA'][$table]['ctrl']['label']] : '<empty>');
$record['record_pid'] = $entryValue['row']['pid'];
$record['record_uid'] = $entryValue['uid'];
$record['table_name'] = $table;
    (1-1/1)