mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Move variable declaration outside of loop (#1984 보완)
This commit is contained in:
parent
1fac0a17fe
commit
3012b0b4d7
1 changed files with 1 additions and 1 deletions
|
|
@ -107,6 +107,7 @@ class documentAdminView extends document
|
|||
|
||||
// Get anonymous nicknames
|
||||
$anonymous_member_srls = array();
|
||||
$member_nick_name = array();
|
||||
foreach($output->data as $oDocument)
|
||||
{
|
||||
if($oDocument->get('member_srl') < 0)
|
||||
|
|
@ -121,7 +122,6 @@ class documentAdminView extends document
|
|||
$member_output = executeQueryArray('member.getMembers', $member_args);
|
||||
if($member_output)
|
||||
{
|
||||
$member_nick_name = array();
|
||||
foreach($member_output->data as $member)
|
||||
{
|
||||
$member_nick_name[$member->member_srl] = $member->nick_name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue