forked from GNUsocial/gnu-social
ksort on commands array to avoid converting to numerical array
This commit is contained in:
parent
a55d1df585
commit
1194c47c5d
@ -932,7 +932,7 @@ class HelpCommand extends Command
|
||||
// Give plugins a chance to add or override...
|
||||
Event::handle('HelpCommandMessages', array($this, &$commands));
|
||||
|
||||
sort($commands);
|
||||
ksort($commands);
|
||||
foreach ($commands as $command => $help) {
|
||||
$out[] = "$command - $help";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user