Project

General

Profile

Bug #20541 » core-recordregister-debug.patch

Anonymous, 2014-02-25 15:08

View differences:

class.tslib_content_content.php 2014-02-25 14:43:27.000000000 +0100
$cObj->start($row, $conf['table']);
$tmpValue = $cObj->cObjGetSingle($renderObjName, $renderObjConf, $renderObjKey);
$cobjValue .= $tmpValue;
} else {
//debug($conf['table'] . ':' . $row['uid'], 'Content already being rendered!');
$cobjValue .= '<div class="alert alert-danger">The content element <b>' . ($conf['table'] . ':' . $row['uid']) . '</b> has already being rendered! See tslib/content/class.tslib_content_content.php and <a href="http://forge.typo3.org/issues/20541">issue 20541</a> on forge.</div>';
}
}
}
-- class.tslib_content_records.php.bak 2014-02-25 14:36:23.000000000 +0100
++ class.tslib_content_records.php 2014-02-25 14:42:55.000000000 +0100
......
$cObj->start($row, $val['table']);
$tmpValue = $cObj->cObjGetSingle($renderObjName, $renderObjConf, $renderObjKey);
$theValue .= $tmpValue;
} else {
//debug($val['table'] . ':' . $val['id'], 'Record already being rendered!');
$theValue .= '<div class="alert alert-danger">The record <b>' . ($val['table'] . ':' . $val['id']) . '</b> has already being rendered! See tslib/content/class.tslib_content_records.php and <a href="http://forge.typo3.org/issues/20541">issue 20541</a> on forge.</div>';
}
}
}
(4-4/4)