--- class.tx_belog_webinfo.php_ORIGINAL_typo3_v4.2.12.php 2010-02-23 11:46:01.000000000 +0100 +++ class.tx_belog_webinfo.php_BUGFIX_typo3_v4.2.12.php 2010-05-01 21:57:11.000000000 +0200 @@ -223,12 +223,17 @@ $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