projects
/
project/context.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6e97e0a
)
Fixed a variable name collision
author
Jeff Miccolis
Fri, 15 Aug 2008 23:21:41 +0000 (23:21 +0000)
committer
Jeff Miccolis
Fri, 15 Aug 2008 23:21:41 +0000 (23:21 +0000)
context_ui/context_ui.module
patch
|
blob
|
blame
|
history
diff --git
a/context_ui/context_ui.module
b/context_ui/context_ui.module
index
38023fc
..
f260d50
100644
(file)
--- 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