Project

General

Profile

Bug #22292 » 13850.patch

Administrator Admin, 2010-05-01 21:57

View differences:

class.tx_belog_webinfo.php_BUGFIX_typo3_v4.2.12.php 2010-05-01 21:57:11.000000000 +0200
$this->pObj->be_user_Array = t3lib_BEfunc::blindUserNames($this->pObj->be_user_Array,$groupArray,1);
}
if (is_array($this->pObj->be_user_Array)) {
while(list(,$val)=each($this->pObj->be_user_Array)) {
$selectUsers[]=$val['uid'];
if (count($this->pObj->be_user_Array)) {
// array holds some BE user ids
// write them to the $selectUsers array
foreach ($this->pObj->be_user_Array as $key => $value) {
$selectUsers[] = $value['uid'];
}
} else {
// no user id available, fall back to the current BEuser
$selectUsers[] = $GLOBALS['BE_USER']->user['uid'];
}
$selectUsers[] = $GLOBALS['BE_USER']->user['uid'];
$where_part.=' AND userid in ('.implode($selectUsers,',').')';
} else {
$where_part.=' AND userid='.$GLOBALS['BE_USER']->user['uid']; // Self user
(3-3/3)