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(); $question_ data->ownAnswer as $answer) { >solution) { $answer- >votes] = $answer; // This appears to be the problem
$solution = array();
foreach(
if($answer-
$solution[] = $answer;
} else {
$answers[
}
}
krsort($answers);