52         if ($oList && $oList->count()) {
 
   55             foreach ($oList as $oEntry) {
 
   57                 $sUserIdField = 
'oxgbentries__oxuserid';
 
   58                 $sUserLastNameField = 
'oxuser__oxlname';
 
   59                 if (isset($oEntry->$sUserIdField) && $oEntry->$sUserIdField->value) {
 
   60                     $sSql = 
"select oxlname from oxuser where oxid=" . $oDb->quote($oEntry->$sUserIdField->value);
 
   61                     $oEntry->$sUserLastNameField = 
new oxField($oDb->getOne($sSql, 
false, 
false));
 
   66         $this->_aViewData[
"mylist"] = $oList;