| @@ 1006-1013 (lines=8) @@ | ||
| 1003 | } |
|
| 1004 | ||
| 1005 | $oMemberModel = getModel('member'); |
|
| 1006 | if($output->data) |
|
| 1007 | { |
|
| 1008 | foreach($output->data as $k => $d) |
|
| 1009 | { |
|
| 1010 | $profile_image = $oMemberModel->getProfileImage($d->member_srl); |
|
| 1011 | $output->data[$k]->src = $profile_image->src; |
|
| 1012 | } |
|
| 1013 | } |
|
| 1014 | ||
| 1015 | $this->add('voted_member_list', $output->data); |
|
| 1016 | } |
|
| @@ 1202-1209 (lines=8) @@ | ||
| 1199 | if(!$output->toBool()) return $output; |
|
| 1200 | ||
| 1201 | $oMemberModel = getModel('member'); |
|
| 1202 | if($output->data) |
|
| 1203 | { |
|
| 1204 | foreach($output->data as $k => $d) |
|
| 1205 | { |
|
| 1206 | $profile_image = $oMemberModel->getProfileImage($d->member_srl); |
|
| 1207 | $output->data[$k]->src = $profile_image->src; |
|
| 1208 | } |
|
| 1209 | } |
|
| 1210 | ||
| 1211 | $this->add('voted_member_list',$output->data); |
|
| 1212 | } |
|