aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/layouts/widgets')
-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) {