summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--context_ui/context_ui.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/context_ui/context_ui.module b/context_ui/context_ui.module
index 38023fc..f260d50 100644
--- a/context_ui/context_ui.module
+++ b/context_ui/context_ui.module
@@ -615,9 +615,9 @@ function context_ui_block_list($region) {
}
}
// Custom sort since SQL order by won't give it to us for free
- foreach ($blocks as $region => $region_blocks) {
+ foreach ($blocks as $key => $region_blocks) {
uasort($region_blocks, '_context_ui_block_compare');
- $blocks[$region] = $region_blocks;
+ $blocks[$key] = $region_blocks;
}
}
// Create an empty array if there were no entries