mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
fix several cases of Db class being invoked as wrong name (as DB)
This commit is contained in:
@@ -74,7 +74,7 @@ function print_feed_multi_select($id, $default_ids = [],
|
||||
$attributes = "", $include_all_feeds = true,
|
||||
$root_id = null, $nest_level = 0) {
|
||||
|
||||
$pdo = DB::pdo();
|
||||
$pdo = Db::pdo();
|
||||
|
||||
print_r(in_array("CAT:6",$default_ids));
|
||||
|
||||
@@ -180,7 +180,7 @@ function print_feed_cat_select($id, $default_id,
|
||||
print "<select id=\"$id\" name=\"$id\" default=\"$default_id\" $attributes>";
|
||||
}
|
||||
|
||||
$pdo = DB::pdo();
|
||||
$pdo = Db::pdo();
|
||||
|
||||
if (!$root_id) $root_id = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user