From e3adacc5885e46b014236195b2f1eb265b3cc14e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 Sep 2020 09:18:03 +0300 Subject: fix several cases of Db class being invoked as wrong name (as DB) --- include/sanity_check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sanity_check.php') diff --git a/include/sanity_check.php b/include/sanity_check.php index b0f7f7402..454d44883 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -105,7 +105,7 @@ } if (SINGLE_USER_MODE && class_exists("PDO")) { - $pdo = DB::pdo(); + $pdo = Db::pdo(); $res = $pdo->query("SELECT id FROM ttrss_users WHERE id = 1"); -- cgit v1.2.3-54-g00ecf