mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-07 18:51:33 +00:00
Fixing bugs found by static analysis
This commit is contained in:
@@ -291,7 +291,7 @@ class RPC extends Handler_Protected {
|
||||
|
||||
$reply = array();
|
||||
|
||||
if ($seq) $reply['seq'] = $seq;
|
||||
if (!empty($_REQUEST['seq'])) $reply['seq'] = (int) $_REQUEST['seq'];
|
||||
|
||||
if ($last_article_id != getLastArticleId()) {
|
||||
$reply['counters'] = getAllCounters();
|
||||
@@ -464,7 +464,7 @@ class RPC extends Handler_Protected {
|
||||
$id = 0;
|
||||
}
|
||||
|
||||
print_feed_cat_select("cat_id", $id);
|
||||
print_feed_cat_select("cat_id", $id, '');
|
||||
}
|
||||
|
||||
// Silent
|
||||
|
||||
Reference in New Issue
Block a user