diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 7da87ed57..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 = ?"; + id = ?"); $sth->execute([$_SESSION['uid']]); if ($row = $sth->fetch()) {