Activity log for bug #1011595

Date Who What changed Old value New value Message
2012-06-11 12:37:07 Kiran Hampal bug added bug
2012-06-11 12:37:27 Kiran Hampal elementaryweb: status New Won't Fix
2012-06-11 12:37:29 Kiran Hampal elementaryweb: importance Undecided High
2012-06-11 12:37:33 Kiran Hampal elementaryweb: milestone 2.0-alpha
2012-06-11 12:40:21 Kiran Hampal description On the new system. The offending code appears to be this: $answers = array(); $solution = array(); foreach($question_data->ownAnswer as $answer) { if($answer->solution) { $solution[] = $answer; } else { $answers[$answer->votes] = $answer; // This appears to be the problem } } krsort($answers); On the new system. The offending code appears to be this: $answers = array(); $solution = array(); foreach($question_data->ownAnswer as $answer) {  if($answer->solution) {   $solution[] = $answer;   } else {   // This appears to be the problem due to the same key   $answers[$answer->votes] = $answer;  } } krsort($answers);
2012-06-11 12:40:32 Kiran Hampal elementaryweb: status Won't Fix Confirmed
2012-06-11 14:31:17 Aiden Cott elementaryweb: assignee Aiden Cott (aidenc)
2012-06-11 14:33:09 Aiden Cott elementaryweb: status Confirmed In Progress
2012-06-11 15:06:17 Kiran Hampal elementaryweb: status In Progress Fix Committed