diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index cf1322f4..ab39b1e2 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -888,7 +888,7 @@ class Pref_Prefs extends Handler_Protected { if ($authenticator->check_password($_SESSION["uid"], $password)) { - $sth = $this->pdo->query("SELECT salt + $sth = $this->pdo->prepare("SELECT salt FROM ttrss_users WHERE id = ?"); $sth->execute([$_SESSION['uid']]);