mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-23 11:46:37 +02:00
Fix PDO query in mail plugin.
This commit is contained in:
parent
8dedacf497
commit
33c850f5ab
|
@ -86,7 +86,7 @@ class Mail extends Plugin {
|
||||||
print_hidden("method", "sendEmail");
|
print_hidden("method", "sendEmail");
|
||||||
|
|
||||||
$sth = $this->pdo->prepare("SELECT email, full_name FROM ttrss_users WHERE
|
$sth = $this->pdo->prepare("SELECT email, full_name FROM ttrss_users WHERE
|
||||||
id = " . $_SESSION["uid"]);
|
id = ?";
|
||||||
$sth->execute([$_SESSION['uid']]);
|
$sth->execute([$_SESSION['uid']]);
|
||||||
|
|
||||||
if ($row = $sth->fetch()) {
|
if ($row = $sth->fetch()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user