mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:45:56 +00:00
fix missing DB object when instantiated to import opml
This commit is contained in:
@@ -3,8 +3,8 @@ class Handler implements IHandler {
|
||||
protected $dbh;
|
||||
protected $args;
|
||||
|
||||
function __construct($dbh, $args) {
|
||||
$this->dbh = $dbh;
|
||||
function __construct($args) {
|
||||
$this->dbh = Db::get();
|
||||
$this->args = $args;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user