Changeset 806


Ignore:
Timestamp:
2006/12/13 01:32:25 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

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

    r805 r806  
    208208        $body = str_replace("'", "''", $arrData['body']); 
    209209        $sql ="INSERT INTO ".$this->db->prefix("xoopspoll_option")." (poll_id, option_text, body, status, category_id, update_date) ". 
    210                 "VALUES (".$arrData['poll_id'].", ".$option_text.", ".$body.", 1, ".$arrData['category_id'].", now())"; 
     210                "VALUES (".$arrData['poll_id'].", '".$option_text."', '".$body."', 1, ".$arrData['category_id'].", now())"; 
    211211         
    212212        $this->db->query($sql); 
Note: See TracChangeset for help on using the changeset viewer.