Changeset 679 for temp


Ignore:
Timestamp:
2006/12/11 14:05:28 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/xoopspoll/blocks/xoopspoll.php

    r678 r679  
    4545        } 
    4646        foreach ($options_arr as $option) { 
    47             $options[] = array('id' => $option->getVar('option_id'), 'text' => $option->getVar('option_text')); 
     47            $options[] = array('id' => $option->getVar('option_id'), 'text' => $option->getVar('option_text'), 'count' => $option->getVar('option_count')); 
    4848        } 
    4949        $poll = array('id' => $polls[$i]->getVar('poll_id'), 'question' => $polls[$i]->getVar('question'), 'option_type' => $option_type, 'option_name' => $option_name, 'options' => $options); 
Note: See TracChangeset for help on using the changeset viewer.