Commit f0c9bbcf authored by Zachary Doll's avatar Zachary Doll

Merge pull request #129 from bleistivt/patch-2

Move ksort out of the inner loop
parents e12ea587 2bd781d2
......@@ -368,11 +368,10 @@ class ActedModel extends Gdn_Model {
foreach($Section as $Item) {
$ItemField = GetValue($Field, $Item);
$Interleaved[$ItemField] = array_merge($Item, array('ItemType' => $SectionType));
$Interleaved = array_reverse($Interleaved);
return $Interleaved;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment