Added missing default statement in switch case (#653)

This commit is contained in:
Roman Kelesidis 2023-03-26 16:00:38 +07:00 committed by GitHub
commit 4d496ba645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 1 deletions

View file

@ -132,6 +132,9 @@ switch ($mode) {
<td>' . $user_ratio . '</td>
';
break;
default:
$this->ajax_die('Invalid mode');
}
$this->response['html'] = $html;