]> git.wh0rd.org - tt-rss.git/blobdiff - public.php
fix missing DB object when instantiated to import opml
[tt-rss.git] / public.php
index f92d252e2a210befc2603a46d5181de8373d56c5..33f5af75713df54fad835da2bed0c3085428a223 100644 (file)
@@ -42,7 +42,7 @@
        if ($override) {
                $handler = $override;
        } else {
-               $handler = new Handler_Public(Db::get(), $_REQUEST);
+               $handler = new Handler_Public($_REQUEST);
        }
 
        if (implements_interface($handler, "IHandler") && $handler->before($method)) {