mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Null coalescing operator can be used
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
4667c92f60
commit
f0d6d30def
27 changed files with 60 additions and 61 deletions
6
feed.php
6
feed.php
|
@ -13,9 +13,9 @@ require __DIR__ . '/common.php';
|
|||
|
||||
$user->session_start(array('req_login' => true));
|
||||
|
||||
$mode = isset($_REQUEST['mode']) ? $_REQUEST['mode'] : '';
|
||||
$type = isset($_POST['type']) ? $_POST['type'] : '';
|
||||
$id = isset($_POST['id']) ? $_POST['id'] : 0;
|
||||
$mode = $_REQUEST['mode'] ?? '';
|
||||
$type = $_POST['type'] ?? '';
|
||||
$id = $_POST['id'] ?? 0;
|
||||
$timecheck = TIMENOW - 600;
|
||||
|
||||
if (!$mode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue