mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
#133 PHP 5.4 이상에서의 호환성 개선
This commit is contained in:
parent
23406d1708
commit
1b60833bad
17 changed files with 78 additions and 31 deletions
|
|
@ -147,6 +147,7 @@ class pollController extends poll
|
|||
$oDB = &DB::getInstance();
|
||||
$oDB->begin();
|
||||
|
||||
$args = new stdClass;
|
||||
$args->poll_srl = $poll_srl;
|
||||
// Update all poll responses related to the post
|
||||
$output = executeQuery('poll.updatePoll', $args);
|
||||
|
|
@ -165,6 +166,7 @@ class pollController extends poll
|
|||
return $output;
|
||||
}
|
||||
// Log the respondent's information
|
||||
$log_args = new stdClass;
|
||||
$log_args->poll_srl = $poll_srl;
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
|
@ -224,6 +226,7 @@ class pollController extends poll
|
|||
if(count($pollSrlList) > 0)
|
||||
{
|
||||
$oPollAdminModel = &getAdminModel('poll');
|
||||
$args = new stdClass;
|
||||
$args->pollIndexSrlList = $pollSrlList;
|
||||
$output = $oPollAdminModel->getPollListWithMember($args);
|
||||
$pollList = $output->data;
|
||||
|
|
@ -358,7 +361,7 @@ class pollController extends poll
|
|||
{
|
||||
$poll_srl = $matches[3][$i];
|
||||
|
||||
$args = null;
|
||||
$args = new stdClass;
|
||||
$args->poll_srl = $poll_srl;
|
||||
$output = executeQuery('poll.getPoll', $args);
|
||||
$poll = $output->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue