@@ 1020-1027 (lines=8) @@ | ||
1017 | } |
|
1018 | ||
1019 | $oMemberModel = getModel('member'); |
|
1020 | if($output->data) |
|
1021 | { |
|
1022 | foreach($output->data as $k => $d) |
|
1023 | { |
|
1024 | $profile_image = $oMemberModel->getProfileImage($d->member_srl); |
|
1025 | $output->data[$k]->src = $profile_image->src; |
|
1026 | } |
|
1027 | } |
|
1028 | ||
1029 | $this->add('voted_member_list', $output->data); |
|
1030 | } |
@@ 1250-1257 (lines=8) @@ | ||
1247 | if(!$output->toBool()) return $output; |
|
1248 | ||
1249 | $oMemberModel = getModel('member'); |
|
1250 | if($output->data) |
|
1251 | { |
|
1252 | foreach($output->data as $k => $d) |
|
1253 | { |
|
1254 | $profile_image = $oMemberModel->getProfileImage($d->member_srl); |
|
1255 | $output->data[$k]->src = $profile_image->src; |
|
1256 | } |
|
1257 | } |
|
1258 | ||
1259 | $this->add('voted_member_list',$output->data); |
|
1260 | } |