2009-07-10, 02:16 AM
In boards/phpbb2/pollvotes.php, there is
Which should be I think
The problem is poll voting data isn't correct. There is nothing in the rows inserted
function convert_data($data)
{
$insert_data = array();
// phpBB 2 values
$insert_pollvote['uid'] = $this->get_import->uid($pollvote['vote_user_id']);
$insert_pollvote['dateline'] = TIME_NOW;
$insert_pollvote['pid'] = $this->get_import->pollid($pollvote['vote_id']);
return $insert_data;
}
Which should be I think
function convert_data($data)
{
$insert_data = array();
// phpBB 2 values
$insert_data['uid'] = $this->get_import->uid($data['vote_user_id']);
$insert_data['dateline'] = TIME_NOW;
$insert_data['pid'] = $this->get_import->pollid($data['vote_id']);
return $insert_data;
}
The problem is poll voting data isn't correct. There is nothing in the rows inserted