Commit 2395dc3b authored by fox's avatar fox Committed by Gogs

Merge branch 'fix-pdo-mail-plugin' of JustAMacUser/tt-rss into master

parents 8dedacf4 12bfce5e
......@@ -86,7 +86,7 @@ class Mail extends Plugin {
print_hidden("method", "sendEmail");
$sth = $this->pdo->prepare("SELECT email, full_name FROM ttrss_users WHERE
id = " . $_SESSION["uid"]);
id = ?");
if ($row = $sth->fetch()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment