Ignore:
Timestamp:
07/21/11 19:01:22 (14 years ago)
Author:
fpvanagthoven
Message:

QuestionID now gets passed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/Survey.php

    r29 r35  
    3636        while (isset($info['questionTitle' . $numQ]))
    3737        {
     38            $id = $info['questionID' . $numQ];
    3839            $title = $info['questionTitle' . $numQ];
    3940            $type = $info['questionType' . $numQ];
    4041            $description = $info['questionDescription' . $numQ];
    4142                   
    42             $question = new Question($title, $type, $description);
     43            $question = new Question($id, $title, $type, $description);
    4344
    4445            $numA = 1; //number answers
Note: See TracChangeset for help on using the changeset viewer.