Project

General

Profile

Bug #15485 ยป 2360.diff

Administrator Admin, 2010-04-19 15:52

View differences:

class.tx_taskcenterrecent.php 2010-04-19 15:49:25.000000000 +0200
$iframe .= $this->urlInIframe('');
}
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'sys_log.*, max(sys_log.tstamp) AS tstamp_MAX',
'sys_log,pages',
'pages.uid=sys_log.event_pid AND sys_log.userid='.intval($this->BE_USER->user['uid']).
$this->logWhere.
' AND '.$this->perms_clause,
'tablename,recuid',
'tstamp_MAX DESC',
$this->numberOfRecentAll
'sys_log.tablename, sys_log.recuid, MAX(sys_log.tstamp) AS tstamp_MAX',
'sys_log INNER JOIN pages ON pages.uid = sys_log.event_pid',
'sys_log.userid=' . intval($this->BE_USER->user['uid']) .
$this->logWhere .
' AND ' . $this->perms_clause,
'tablename, recuid',
'tstamp_MAX DESC',
$this->numberOfRecentAll
);
$lines = array();
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
    (1-1/1)