From 1f294435307ef6cbbf3f35a22af9bf92131338ed Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Apr 2013 23:19:14 +0400 Subject: fix missing DB object when instantiated to import opml --- classes/handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/handler.php b/classes/handler.php index d8e2a3025..b20932045 100644 --- a/classes/handler.php +++ b/classes/handler.php @@ -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; } -- cgit v1.2.3-54-g00ecf