Skip to content
Snippets Groups Projects
Commit 3f972f8f authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

public/subscribe: fix warnings

parent c1ad7acf
No related branches found
No related tags found
No related merge requests found
...@@ -729,10 +729,10 @@ class Handler_Public extends Handler { ...@@ -729,10 +729,10 @@ class Handler_Public extends Handler {
UserHelper::login_sequence(); UserHelper::login_sequence();
} }
if ($_SESSION["uid"]) { if (!empty($_SESSION["uid"])) {
$feed_url = clean($_REQUEST["feed_url"]); $feed_url = clean($_REQUEST["feed_url"] ?? "");
$csrf_token = clean($_POST["csrf_token"]); $csrf_token = clean($_POST["csrf_token"] ?? "");
header('Content-Type: text/html; charset=utf-8'); header('Content-Type: text/html; charset=utf-8');
?> ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment