mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Added missing default statement in switch case (#653)
This commit is contained in:
parent
49ac3503c1
commit
4d496ba645
6 changed files with 17 additions and 1 deletions
|
@ -110,6 +110,9 @@ switch ($mode) {
|
|||
$this->response['unlock_cron_html'] = '<span class="seed bold">' . $lang['ADMIN_UNLOCKED'] . '</span>';
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
$this->response['mode'] = $mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue