1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

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

This commit is contained in:
fox
2018-01-02 06:23:43 +00:00
committed by Gogs

View File

@@ -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 = ?");
$sth->execute([$_SESSION['uid']]);
if ($row = $sth->fetch()) {