diff options
author | fox <[email protected]> | 2018-01-02 06:23:43 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2018-01-02 06:23:43 +0000 |
commit | 2395dc3b04ee77035a2acd5a0e6cd9a787f7daf1 (patch) | |
tree | d7025d3791c65ee0d7a418ac6c924c652aa440c3 | |
parent | 8dedacf497c31560bb8723cfe02b84921f44d576 (diff) | |
parent | 12bfce5e66214791133b1c142d6db7abaefc3dc0 (diff) |
Merge branch 'fix-pdo-mail-plugin' of JustAMacUser/tt-rss into master
-rw-r--r-- | plugins/mail/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 045fd7986..28e160541 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -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()) { |