@@ 220-229 (lines=10) @@ | ||
217 | // irmtfan - remove icon_path and use newbbDisplayImage |
|
218 | $xoopsTpl->assign('anonym_avatar', newbbDisplayImage('anonym')); |
|
219 | $userid_array = []; |
|
220 | if (count($poster_array) > 0) { |
|
221 | /** @var \XoopsMembershipHandler $memberHandler */ |
|
222 | $memberHandler = xoops_getHandler('member'); |
|
223 | $userid_array = array_keys($poster_array); |
|
224 | $user_criteria = '(' . implode(',', $userid_array) . ')'; |
|
225 | $users = $memberHandler->getUsers(new Criteria('uid', $user_criteria, 'IN'), true); |
|
226 | } else { |
|
227 | $user_criteria = ''; |
|
228 | $users = null; |
|
229 | } |
|
230 | ||
231 | $online = []; |
|
232 |
@@ 262-270 (lines=9) @@ | ||
259 | ||
260 | $userid_array = []; |
|
261 | $online = []; |
|
262 | if (count($poster_array) > 0) { |
|
263 | /** @var \XoopsMemberHandler $memberHandler */ |
|
264 | $memberHandler = xoops_getHandler('member'); |
|
265 | $userid_array = array_keys($poster_array); |
|
266 | $user_criteria = '(' . implode(',', $userid_array) . ')'; |
|
267 | $users = $memberHandler->getUsers(new Criteria('uid', $user_criteria, 'IN'), true); |
|
268 | } else { |
|
269 | $users = []; |
|
270 | } |
|
271 | ||
272 | $viewtopic_users = []; |
|
273 | if (count($userid_array) > 0) { |