Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Davka committed Dec 15, 2020
1 parent 6bc3873 commit 1ae174c
Show file tree
Hide file tree
Showing 14 changed files with 400 additions and 6,554 deletions.
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions controllers/show.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ public function index_action()
{
Navigation::activateItem('/simplebbbconnector/overview/index');
PageLayout::setTitle(_('Serverübersicht'));
$servers = SimpleORMapCollection::createFromArray(
Server::findBySQL('1')
)->orderBy('name');

$servers = Server::findBySQL('1');
/**
* Ugly workround
*/
usort($servers, function($a, $b) {
return filter_var($a->name, FILTER_SANITIZE_NUMBER_INT) < filter_var($b->name, FILTER_SANITIZE_NUMBER_INT);
});
$servers = SimpleCollection::createFromArray($servers);
$results = [];
$all_participants = 0;
$all_meetings = 0;
Expand Down
Loading

0 comments on commit 1ae174c

Please sign in to comment.