From bde04c7297a49da5ae8e06c71f35890c4fe06b23 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 11 Jun 2011 22:59:13 +0000 Subject: need to maintain key associations with widget types git-svn-id: http://code.elgg.org/elgg/trunk@9186 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/layouts/widgets/add_panel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/page/layouts') 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) { -- cgit v1.2.3