summaryrefslogtreecommitdiff
path: root/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 23:19:14 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 23:19:14 +0400
commit1f294435307ef6cbbf3f35a22af9bf92131338ed (patch)
tree22a1004e262cfe9f0694d71a3418db4fb9a78d21 /public.php
parent7f1113a56ad8e66ce3dd9886b4b11dfc30573c7f (diff)
fix missing DB object when instantiated to import opml
Diffstat (limited to 'public.php')
-rw-r--r--public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public.php b/public.php
index f92d252e2..33f5af757 100644
--- a/public.php
+++ b/public.php
@@ -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)) {