1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:55:56 +00:00

af_redditimgur: don't try to load empty html; fix a warning in update debugger

This commit is contained in:
Andrew Dolgov
2021-02-06 10:31:06 +03:00
parent ce489a724b
commit 5849a39820
2 changed files with 38 additions and 36 deletions

View File

@@ -772,7 +772,7 @@ class Feeds extends Handler_Protected {
Debug::set_loglevel($xdebug);
$feed_id = (int)$_REQUEST["feed_id"];
@$do_update = $_REQUEST["action"] == "do_update";
$do_update = ($_REQUEST["action"] ?? "") == "do_update";
$csrf_token = $_POST["csrf_token"];
$sth = $this->pdo->prepare("SELECT id FROM ttrss_feeds WHERE id = ? AND owner_uid = ?");