Project

General

Profile

Feature #17881 » v43_0006882.patch

Administrator Admin, 2009-09-28 22:42

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
if (!$pid_uid_flag) { // If not uid and not pid then uid is set to 0 - which results in nothing!!
$query.=' AND '.$table.'.uid=0';
}
if ($where = trim($conf['where'])) {
$where = trim($this->stdWrap($conf['where'], $conf['where.'])); // Be careful not to use GPvar with this feature without saving it (e.g. with stdWrap.intval)
if ($where) {
$query.=' AND '.$where;
}
......
$query.=' AND '.$conf['languageField'].' IN ('.$sys_language_content.')';
}
$andWhere = trim($this->stdWrap($conf['andWhere'],$conf['andWhere.']));
$andWhere = trim($this->stdWrap($conf['andWhere'],$conf['andWhere.'])); // Be careful not to use GPvar with this feature without saving it (e.g. with stdWrap.intval)
if ($andWhere) {
$query.=' AND '.$andWhere;
}
(2-2/2)