diff options
author | Andrew Dolgov <[email protected]> | 2020-09-17 09:18:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-17 09:18:03 +0300 |
commit | e3adacc5885e46b014236195b2f1eb265b3cc14e (patch) | |
tree | f79e4c4721f027dfd50e5ba0b6b77dfef26bdbb8 /include/controls.php | |
parent | 16c86e2fc394935d64ff43ec89be6b7ae5a19e69 (diff) |
fix several cases of Db class being invoked as wrong name (as DB)
Diffstat (limited to 'include/controls.php')
-rwxr-xr-x | include/controls.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/controls.php b/include/controls.php index 8646ec15d..dc923e16a 100755 --- a/include/controls.php +++ b/include/controls.php @@ -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; |