git-svn-id: http://xe-core.googlecode.com/svn/trunk@1012 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-06 08:37:00 +00:00
parent ce2f0a583b
commit 61f574fe90
6 changed files with 10 additions and 5 deletions

View file

@ -43,6 +43,7 @@
$poll->stop_date = $output->data->stop_date;
$output = executeQuery('poll.getPollTitle', $args);
if(!is_array($output->data)) $output->data = array($output->data);
foreach($output->data as $key => $val) {
$poll->poll[$val->poll_index_srl]->title = $val->title;
$poll->poll[$val->poll_index_srl]->checkcount = $val->checkcount;
@ -64,7 +65,7 @@
$tpl_file = "result";
}
Context::set('poll', $poll);
Context::set('poll',$poll);
$tpl_path = $this->module_path.'tpl';