rem: var c = arr[i] ? arr[i] : new choice(""); 
add: var c = arr[i] != null ? arr[i] : new choice(""); 
context: function edit_action() {   // pre-process submitted choices   var arr = new Array();   if (req.data.title_array) {      for (var i=0;i<req.data.title_array.length;i++) {         var title = req.data.title_array[i].trim();         if (title)            arr[arr.length] = new choice(title);      }   } else if (req.data.title) {      var title = req.data.title.trim();      if (title)         arr[0] = new choice(title);   } else      arr = this.list();   if (req.data.cancel) {      res.redirect(this.href());   } else if (req.data.save) {      try {         res.message = this.evalPoll(req.data.question, arr, session.user);         res.redirect(this.site.polls.href());      } catch (err) {         res.message = err.toString();      }   } else if (req.data.addchoice)   	arr.push(new choice(""));      var choiceList = new java.lang.StringBuffer();   var max = Math.max(2, arr.length);   for (var i=0;i<max;i++) {      var c = arr[i] ? arr[i] : new choice("");    	choiceList.append(c.renderSkinAsString("edit", {count: (i+1).toString()} ));   }   res.data.choices = choiceList.toString();   res.data.action = this.href(req.action);   res.data.title = "Edit poll: " + this.question;   res.data.body = this.renderSkinAsString("edit");   this.site.renderSkin("page");}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/16891e31c6b967f35fecca3194434cdd987a9598/actions.js/buggy/code/Poll/actions.js