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