| @@ 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 | } |
|
| @@ 1237-1244 (lines=8) @@ | ||
| 1234 | if(!$output->toBool()) return $output; |
|
| 1235 | ||
| 1236 | $oMemberModel = getModel('member'); |
|
| 1237 | if($output->data) |
|
| 1238 | { |
|
| 1239 | foreach($output->data as $k => $d) |
|
| 1240 | { |
|
| 1241 | $profile_image = $oMemberModel->getProfileImage($d->member_srl); |
|
| 1242 | $output->data[$k]->src = $profile_image->src; |
|
| 1243 | } |
|
| 1244 | } |
|
| 1245 | ||
| 1246 | $this->add('voted_member_list',$output->data); |
|
| 1247 | } |
|