Changeset 1390 for HelpIM3

Show
Ignore:
Timestamp:
02/15/11 10:41:06 (15 months ago)
Author:
zeank
Message:

useless fix fixing useless questionairs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • HelpIM3/branches/chatgroups/HelpIM/questionair/pages/QuestionEditor.py

    r1385 r1390  
    278278    def panelDataToObject(self, *pargs, **kwargs): 
    279279        self.log.debug('.panelDataToObject()') 
    280         if self.parameters.has_key('question_text'): 
    281             self.question.question_text = self.parameters['question_text'] 
     280        self.question.question_text = self.getParam('question_text', None) 
    282281        if self.parameters.has_key('question_error'): 
    283282            self.question.question_error = self.parameters['question_error']