Minor improvements (#950)

This commit is contained in:
Roman Kelesidis 2023-10-05 09:36:46 +07:00 committed by GitHub
commit ca8a8a2036
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 119 additions and 81 deletions

View file

@ -13,7 +13,9 @@ if (!defined('IN_AJAX')) {
global $userdata, $bb_cfg, $lang, $datastore, $log_action;
$mode = (string)$this->request['mode'];
if (!$mode = (string)$this->request['mode']) {
$this->ajax_die('invalid mode (empty)');
}
switch ($mode) {
case 'tor_status':