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

master
fox 7 years ago committed by Gogs
commit 2395dc3b04

@ -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()) {

Loading…
Cancel
Save