public/subscribe: fix warnings
This commit is contained in:
parent
c1ad7acfb9
commit
3f972f8fed
|
@ -729,10 +729,10 @@ class Handler_Public extends Handler {
|
|||
UserHelper::login_sequence();
|
||||
}
|
||||
|
||||
if ($_SESSION["uid"]) {
|
||||
if (!empty($_SESSION["uid"])) {
|
||||
|
||||
$feed_url = clean($_REQUEST["feed_url"]);
|
||||
$csrf_token = clean($_POST["csrf_token"]);
|
||||
$feed_url = clean($_REQUEST["feed_url"] ?? "");
|
||||
$csrf_token = clean($_POST["csrf_token"] ?? "");
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue