mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:46:00 +00:00
Fixing bugs found by static analysis
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
$method = strtolower($_REQUEST["op"]);
|
||||
|
||||
$handler = new API(Db::get(), $_REQUEST);
|
||||
$handler = new API($_REQUEST);
|
||||
|
||||
if ($handler->before($method)) {
|
||||
if ($method && method_exists($handler, $method)) {
|
||||
|
||||
Reference in New Issue
Block a user