From 5849a398206dad2d2d492a25d4bbe2232fa388fa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 6 Feb 2021 10:31:06 +0300 Subject: af_redditimgur: don't try to load empty html; fix a warning in update debugger --- classes/feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/feeds.php') diff --git a/classes/feeds.php b/classes/feeds.php index 1b87fe6c7..6a4bd5fcd 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -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 = ?"); -- cgit v1.2.3-54-g00ecf