mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
move wrong compare
This commit is contained in:
parent
f85acb1783
commit
8ab45033e7
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,6 @@ class PollModel extends Poll
|
|||
$poll->poll[$val->poll_index_srl]->title = $val->title;
|
||||
$poll->poll[$val->poll_index_srl]->checkcount = $val->checkcount;
|
||||
$poll->poll[$val->poll_index_srl]->poll_count = $val->poll_count;
|
||||
$poll->poll[$val->poll_index_srl]->hide = strpos($val->title, '[HIDE]') !== FALSE;
|
||||
}
|
||||
|
||||
$output = executeQueryArray('poll.getPollItem', $args);
|
||||
|
|
@ -63,6 +62,7 @@ class PollModel extends Poll
|
|||
unset($val->poll_srl);
|
||||
$val->my_item = false;
|
||||
if(($val->add_user_srl==$logged_info->member_srl || $poll_member_srl == $logged_info->member_srl) && $val->add_user_srl!=0) $val->my_item = true;
|
||||
$val->hide = strpos($val->title, '[HIDE]') !== FALSE;
|
||||
$poll->poll[$val->poll_index_srl]->item[] = $val;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue