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