aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 22:59:13 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 22:59:13 +0000
commitbde04c7297a49da5ae8e06c71f35890c4fe06b23 (patch)
tree3ab877f8277425cd7f0106c5f1e692092af82612 /views/default/page/layouts
parent921e5f37131daeeab0aca5b8b6d366e9f4320b2b (diff)
downloadelgg-bde04c7297a49da5ae8e06c71f35890c4fe06b23.tar.gz
elgg-bde04c7297a49da5ae8e06c71f35890c4fe06b23.tar.bz2
need to maintain key associations with widget types
git-svn-id: http://code.elgg.org/elgg/trunk@9186 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/layouts')
-rw-r--r--views/default/page/layouts/widgets/add_panel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page/layouts/widgets/add_panel.php b/views/default/page/layouts/widgets/add_panel.php
index 91f74cc55..9eb78cdb6 100644
--- a/views/default/page/layouts/widgets/add_panel.php
+++ b/views/default/page/layouts/widgets/add_panel.php
@@ -12,7 +12,7 @@ $context = $vars['context'];
$exact = elgg_extract('exact_match', $vars, false);
$widget_types = elgg_get_widget_types($context, $exact);
-usort($widget_types, create_function('$a,$b', 'return strcmp($a->name,$b->name);'));
+uasort($widget_types, create_function('$a,$b', 'return strcmp($a->name,$b->name);'));
$current_handlers = array();
foreach ($widgets as $column_widgets) {