Project

General

Profile

Feature #40681 ยป t3_6.2.9_suggestelement_marker_REC_FIELD_sys_language_uid.patch

Patrick Kavajin, 2015-03-03 16:11

View differences:

/tmp/SuggestElement.php 2015-03-03 15:42:42.747650235 +0100
} else {
$row = unserialize($newRecordRow);
}
$sysLanguageUid = $row["sys_language_uid"];
$TSconfig = BackendUtility::getPagesTSconfig($pageId);
$queryTables = array();
$foreign_table_where = '';
......
if (isset($config['addWhere'])) {
$replacement = array(
'###THIS_UID###' => (int)$uid,
'###REC_FIELD_sys_language_uid###' => (int)$sysLanguageUid,
'###CURRENT_PID###' => (int)$pageId
);
if (isset($TSconfig['TCEFORM.'][$table . '.'][$field . '.'])) {
    (1-1/1)