Skip to content

Commit

Permalink
MDL-21558 fixed sorting of installed local plugins
Browse files Browse the repository at this point in the history
A typo caused loosing of array keys that are needed in the later
foreach loop
  • Loading branch information
mudrd8mz committed Feb 9, 2010
1 parent 885ea6d commit 70be294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/localplugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
}
$plugins[$plugin] = $strpluginname;
}
sort($plugins, SORT_LOCALE_STRING);
asort($plugins, SORT_LOCALE_STRING);

foreach ($plugins as $plugin => $name) {
$delete = new moodle_url($PAGE->url, array('delete' => $plugin, 'sesskey' => sesskey()));
Expand Down

0 comments on commit 70be294

Please sign in to comment.