mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 00:19:10 +08:00
update: fix typo
This commit is contained in:
parent
e82a145d5e
commit
87e61e1b9a
@ -13,9 +13,7 @@ class ClientController extends Controller
|
|||||||
public function subscribe(Request $request)
|
public function subscribe(Request $request)
|
||||||
{
|
{
|
||||||
$flag = $request->input('flag')
|
$flag = $request->input('flag')
|
||||||
?? (isset($_SERVER['HTTP_USER_AGENT'])
|
?? ($_SERVER['HTTP_USER_AGENT'] ?? '');
|
||||||
? $_SERVER['HTTP_USER_AGENT']
|
|
||||||
: '');
|
|
||||||
$flag = strtolower($flag);
|
$flag = strtolower($flag);
|
||||||
$user = $request->user;
|
$user = $request->user;
|
||||||
// account not expired and is not banned.
|
// account not expired and is not banned.
|
||||||
|
Loading…
Reference in New Issue
Block a user