Fix method declaration error in PHP7.2 (#541)

This commit is contained in:
Matthias Wirtz 2018-02-28 22:55:19 +01:00 committed by Timz99
parent 11a021e7d9
commit 08eb9a55f7
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class UserController extends AbstractController {
$this->twig->addGlobal('subtitle', psm_get_lang('menu', 'user'));
}
public function run() {
public function run($action = NULL) {
$servers = $this->db->select(PSM_DB_PREFIX.'servers', null, array('server_id', 'label'), '', "ORDER BY `active` ASC, `status` DESC, `label` ASC");
// change the indexes to reflect their server ids
foreach($servers as $server) {